2013年2月15日 星期五

Get-Command -Noun和 -Verb

http://technet.microsoft.com/zh-tw/library/aa997174.aspx

Get-Command -Noun

Get-Command -Noun <CmdletNoun> 命令會列出具有指定名詞的所有指令程式。當您希望檢視與特定功能關聯之所有指令程式的清單時,可使用此命令。例如,Get-Command -Noun SystemMessage 命令會傳回 SystemMessage 功能可用的所有指令程式。


Get-Command -Verb
Get-Command -Verb <CmdletVerb> 命令會列出具有指定動詞的所有指令程式。當您希望檢視與特定動作關聯之所有指令程式的清單時,可使用此命令。例如,Get-Command -Verb Enable 命令會傳回執行啟用動作的所有可用指令程式。


ref:
http://www.goodman-lai.idv.tw/2008/01/get-command-verbnoun.html





沒有留言:

張貼留言