文章詳情頁(yè)
Windows PowerShell的12項(xiàng)酷功能
瀏覽:94日期:2023-05-23 16:08:59
Windows PowerShell 1.0已經(jīng)發(fā)布,微軟windowsvistablog上,開(kāi)發(fā)人員列舉了Windows Vista中Windows PowerShell所提供的12項(xiàng)酷酷的功能:解答PowerShell:PowerShell原來(lái)的開(kāi)發(fā)代號(hào)是Monad,原計(jì)劃是用以替代Windows中的命令行工具,但是后來(lái)微軟說(shuō)它只是技術(shù)上的擴(kuò)充。使用PowerShell,管理員可以做任何在圖形界面下所做的事情。Windows PowerShell 1.0可以運(yùn)行在Windows XP SP2、Windows Server 2003和Windows Vista上。1. 內(nèi)置Cmdlets (即'commandlets')Windows PowerShell中的所有Cmdlets都允許這樣的動(dòng)名詞:get-service, get-process, stop-service, get-wmiobject.2. 強(qiáng)大的通配符和操作對(duì)象要得到以w開(kāi)頭的服務(wù)及其依賴服務(wù)只要輸入:PS> get-service w* format-list DisplayName, DependentServices3. 在犯錯(cuò)誤前測(cè)試命令Windows PowerShell 有意向獨(dú)特的功能:Whatif ,可以不執(zhí)行命令就告訴你命令執(zhí)行結(jié)果.如:PS> stop-service w3* -whatif4. 獲取副本PowerShell 可以開(kāi)始和結(jié)束所有命令的副本,可以在腳本中輕易測(cè)試命令并同時(shí)保存.PS> Start-Transcript -Path c:demodfoshow.txtPS> Stop-Transcript
標(biāo)簽:
Windows系統(tǒng)
相關(guān)文章:
1. win11wifi功能消失了只有以太網(wǎng)2. Win8系統(tǒng)使用自帶內(nèi)存診斷功能的步驟3. 統(tǒng)信UOS個(gè)人版(V201030)正式發(fā)布 新增功能匯總4. win10掃描功能的使用方法5. win1019564版本有什么更新內(nèi)容功能6. 使用Windows7 BitLocker加密功能7. 淺析Windows XP中的“單擊鎖定”功能8. 蘋(píng)果macOS High Sierra怎么樣?已完善Live Photos編輯功能9. macOS系統(tǒng)開(kāi)啟聽(tīng)寫(xiě)功能的方法10. Windows 365能夠免費(fèi)用部分功能嗎?
排行榜
