Windows PowerShell:定义参数

https://technet.microsoft.com/en-us/library/jj554301.aspx


 Windows PowerShell:定义参数


因为我们定义了参数,所以如下图,可以使用computername参数

 Windows PowerShell:定义参数


如下图,我们平指定的计算机了

 Windows PowerShell:定义参数

更多示例请参阅上面的技网链接


Windows PowerShell:定义参数