1 2 3 4 5 6 7 8 9 10 | function Get-MarcaCoche { param( [Parameter(Mandatory)] [ArgumentCompleter({'Audi','Seat','BMW'})] [string] $Vendor ) "Chosen vendor: $Vendor" } |
1 2 3 4 5 6 7 8 9 10 | function Get-MarcaCoche { param( [Parameter(Mandatory)] [ArgumentCompleter({'Audi','Seat','BMW'})] [string] $Vendor ) "Chosen vendor: $Vendor" } |