From e5aae24b95f24cafb57db6ec5ee4241b2089a9a4 Mon Sep 17 00:00:00 2001 From: dfinke Date: Tue, 14 Feb 2017 18:29:46 -0500 Subject: [PATCH 1/3] updated installs and read me --- Install.ps1 | 1 + InstallModule.ps1 | 5 +++-- README.md | 28 ++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index 7955b22..b43443a 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -19,6 +19,7 @@ $fileList = echo ` Get-HtmlTable.ps1 ` Import-Html.ps1 ` Get-ExcelSheetInfo.ps1 ` + Get-ExcelWorkbookInfo.ps1 ` Get-Range.ps1 ` TrackingUtils.ps1 ` Copy-ExcelWorkSheet.ps1 ` diff --git a/InstallModule.ps1 b/InstallModule.ps1 index 162214b..df2c911 100644 --- a/InstallModule.ps1 +++ b/InstallModule.ps1 @@ -21,6 +21,7 @@ $targetFiles = echo ` New-PSItem.ps1 ` Pivot.ps1 ` Get-ExcelSheetInfo.ps1 ` + Get-ExcelWorkbookInfo.ps1 ` New-ConditionalText.ps1 ` Get-HtmlTable.ps1 ` Import-Html.ps1 ` @@ -30,7 +31,7 @@ $targetFiles = echo ` Set-CellStyle.ps1 ` plot.ps1 -ls $targetFiles | - ForEach { +Get-ChildItem $targetFiles | + ForEach-Object { Copy-Item -Verbose -Path $_.FullName -Destination "$($TargetPath)\$($_.name)" } \ No newline at end of file diff --git a/README.md b/README.md index 2f7768a..fea19e8 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,34 @@ Get-Process | ``` ![](https://github.com/dfinke/ImportExcel/blob/master/images/CellFormatting.png?raw=true) +#### 2/14/2017 +Big thanks to [DarkLite1](https://github.com/DarkLite1) for some great updates +* `-DataOnly` switch added to `Import-Excel`. When used it will only generate objects for rows that contain text values, not for empty rows or columns. + +* `Get-ExcelWorkBookInfo` - retrieves information of an Excel workbook. +``` + Get-ExcelWorkbookInfo .\Test.xlsx + + CorePropertiesXml : #document + Title : + Subject : + Author : Konica Minolta User + Comments : + Keywords : + LastModifiedBy : Bond, James (London) GBR + LastPrinted : 2017-01-21T12:36:11Z + Created : 17/01/2017 13:51:32 + Category : + Status : + ExtendedPropertiesXml : #document + Application : Microsoft Excel + HyperlinkBase : + AppVersion : 14.0300 + Company : Secret Service + Manager : + Modified : 10/02/2017 12:45:37 + CustomPropertiesXml : #document +``` #### 9/28/2016 [Fixed](https://github.com/dfinke/ImportExcel/pull/126) Powershell 3.0 compatibility. Thanks to [headsphere](https://github.com/headsphere). He used `$obj.PSObject.Methods[$target]` snytax to make it backward compatible. PS v4.0 and later allow `$obj.$target`. From 510252054688610159e37b3a5d17e359f0635e08 Mon Sep 17 00:00:00 2001 From: dfinke Date: Tue, 14 Feb 2017 18:32:14 -0500 Subject: [PATCH 2/3] fixed date order in read me --- README.md | 58 +++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index fea19e8..d116b24 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,35 @@ iex (new-object System.Net.WebClient).DownloadString('https://raw.github.com/dfi # What's new +#### 2/14/2017 +Big thanks to [DarkLite1](https://github.com/DarkLite1) for some great updates +* `-DataOnly` switch added to `Import-Excel`. When used it will only generate objects for rows that contain text values, not for empty rows or columns. + +* `Get-ExcelWorkBookInfo` - retrieves information of an Excel workbook. +``` + Get-ExcelWorkbookInfo .\Test.xlsx + + CorePropertiesXml : #document + Title : + Subject : + Author : Konica Minolta User + Comments : + Keywords : + LastModifiedBy : Bond, James (London) GBR + LastPrinted : 2017-01-21T12:36:11Z + Created : 17/01/2017 13:51:32 + Category : + Status : + ExtendedPropertiesXml : #document + Application : Microsoft Excel + HyperlinkBase : + AppVersion : 14.0300 + Company : Secret Service + Manager : + Modified : 10/02/2017 12:45:37 + CustomPropertiesXml : #document +``` + #### 12/22/2016 - Added `-Now` switch. This short cuts the process, automatically creating a temp file and enables the `-Show`, `-AutoFilter`, `-AutoSize` switches. @@ -60,35 +89,6 @@ Get-Process | ``` ![](https://github.com/dfinke/ImportExcel/blob/master/images/CellFormatting.png?raw=true) -#### 2/14/2017 -Big thanks to [DarkLite1](https://github.com/DarkLite1) for some great updates -* `-DataOnly` switch added to `Import-Excel`. When used it will only generate objects for rows that contain text values, not for empty rows or columns. - -* `Get-ExcelWorkBookInfo` - retrieves information of an Excel workbook. -``` - Get-ExcelWorkbookInfo .\Test.xlsx - - CorePropertiesXml : #document - Title : - Subject : - Author : Konica Minolta User - Comments : - Keywords : - LastModifiedBy : Bond, James (London) GBR - LastPrinted : 2017-01-21T12:36:11Z - Created : 17/01/2017 13:51:32 - Category : - Status : - ExtendedPropertiesXml : #document - Application : Microsoft Excel - HyperlinkBase : - AppVersion : 14.0300 - Company : Secret Service - Manager : - Modified : 10/02/2017 12:45:37 - CustomPropertiesXml : #document -``` - #### 9/28/2016 [Fixed](https://github.com/dfinke/ImportExcel/pull/126) Powershell 3.0 compatibility. Thanks to [headsphere](https://github.com/headsphere). He used `$obj.PSObject.Methods[$target]` snytax to make it backward compatible. PS v4.0 and later allow `$obj.$target`. From 4ab9dd499d899a49230c58147304d1b1b0d2c1f7 Mon Sep 17 00:00:00 2001 From: dfinke Date: Tue, 14 Feb 2017 18:36:13 -0500 Subject: [PATCH 3/3] bump the version --- ImportExcel.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImportExcel.psd1 b/ImportExcel.psd1 index ee3037b..b4a0509 100644 --- a/ImportExcel.psd1 +++ b/ImportExcel.psd1 @@ -4,7 +4,7 @@ RootModule = 'ImportExcel.psm1' # Version number of this module. -ModuleVersion = '2.2.10' +ModuleVersion = '2.3.0' # ID used to uniquely identify this module GUID = '60dd4136-feff-401a-ba27-a84458c57ede'