You specify it in an attribute above each parameter like this: function Do-Something{ [CmdletBinding()] param( [Parameter(Position=0, mandatory=$true)] ...
確定! 回上一頁