diff --git a/ImportExcel.psd1 b/ImportExcel.psd1 index 34c62fe..fbd36c9 100644 --- a/ImportExcel.psd1 +++ b/ImportExcel.psd1 @@ -4,7 +4,7 @@ RootModule = 'ImportExcel.psm1' # Version number of this module. -ModuleVersion = '1.90' +ModuleVersion = '1.91' # ID used to uniquely identify this module GUID = '60dd4136-feff-401a-ba27-a84458c57ede' diff --git a/ImportExcel.psm1 b/ImportExcel.psm1 index 60284c6..e71233d 100644 --- a/ImportExcel.psm1 +++ b/ImportExcel.psm1 @@ -7,7 +7,7 @@ Add-Type -Path "$($PSScriptRoot)\EPPlus.dll" function Import-Excel { param( [Alias("FullName")] - [Parameter(ValueFromPipelineByPropertyName=$true, ValueFromPipeline=$true, Mandatory)] + [Parameter(ValueFromPipelineByPropertyName=$true, ValueFromPipeline=$true, Mandatory=$true)] $Path, [Alias("Sheet")] $WorkSheetname=1, @@ -155,9 +155,9 @@ function ConvertFrom-ExcelSheet { function Export-MultipleExcelSheets { param( - [Parameter(Mandatory)] + [Parameter(Mandatory=$true)] $Path, - [Parameter(Mandatory)] + [Parameter(Mandatory=$true)] [hashtable]$InfoMap, [string]$Password, [Switch]$Show, diff --git a/PublishToGallery.ps1 b/PublishToGallery.ps1 index c664cc6..3988f5a 100644 --- a/PublishToGallery.ps1 +++ b/PublishToGallery.ps1 @@ -4,7 +4,7 @@ $p = @{ NuGetApiKey = $NuGetApiKey LicenseUri = "https://github.com/dfinke/ImportExcel/blob/master/LICENSE.txt" Tag = "Excel","EPPlus","Export","Import" - ReleaseNote = "Fixed v3.0 bug, added -HeaderRow, added Help for Export-Excel" + ReleaseNote = "Fixed parameters and explicitly marked as $true" ProjectUri = "https://github.com/dfinke/ImportExcel" }