mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-09 03:53:17 +00:00
Added position to params of 'Import-Excel'
This commit is contained in:
@@ -237,10 +237,10 @@ Function Import-Excel {
|
||||
[CmdLetBinding(DefaultParameterSetName)]
|
||||
Param (
|
||||
[Alias('FullName')]
|
||||
[Parameter(ValueFromPipelineByPropertyName, ValueFromPipeline, Mandatory)]
|
||||
[Parameter(ValueFromPipelineByPropertyName, ValueFromPipeline, Position=0, Mandatory)]
|
||||
[ValidateScript({Test-Path -Path $_ -PathType Leaf})]
|
||||
[String]$Path,
|
||||
[Parameter(Mandatory)]
|
||||
[Parameter(Position=1, Mandatory)]
|
||||
[Alias('Sheet')]
|
||||
[String]$WorksheetName,
|
||||
[Parameter(ParameterSetName='B', Mandatory)]
|
||||
|
||||
Reference in New Issue
Block a user