Chapter1: Write a basic powershell script
The following items will be introduced in the following section:
1.Parameters
1.Parameters
powershell用param來定義參數
例如
呼叫方法可為:
or setting -SaveData to $FALSE:
Parameter Attributes
例如
Mandatory
參數是否必備: $true-設為必備/ $false-設為option
Last updated
Was this helpful?