文章詳情頁
Windows PowerShell的12項(xiàng)酷功能
瀏覽:214日期:2023-05-23 16:08:59
Windows PowerShell 1.0已經(jīng)發(fā)布,微軟windowsvistablog上,開發(fā)人員列舉了Windows Vista中Windows PowerShell所提供的12項(xiàng)酷酷的功能:解答PowerShell:PowerShell原來的開發(fā)代號(hào)是Monad,原計(jì)劃是用以替代Windows中的命令行工具,但是后來微軟說它只是技術(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開頭的服務(wù)及其依賴服務(wù)只要輸入:PS> get-service w* format-list DisplayName, DependentServices3. 在犯錯(cuò)誤前測試命令Windows PowerShell 有意向獨(dú)特的功能:Whatif ,可以不執(zhí)行命令就告訴你命令執(zhí)行結(jié)果.如:PS> stop-service w3* -whatif4. 獲取副本PowerShell 可以開始和結(jié)束所有命令的副本,可以在腳本中輕易測試命令并同時(shí)保存.PS> Start-Transcript -Path c:demodfoshow.txtPS> Stop-Transcript
標(biāo)簽:
Windows系統(tǒng)
相關(guān)文章:
1. macOS Ventura 13.3 正式版發(fā)布: 增加了重復(fù)照片檢測功能等功能2. win10系統(tǒng)關(guān)閉語音識(shí)別功能的方法3. Windows XP操作系統(tǒng)恢復(fù)功能完全攻略4. 解析Windows中的帳戶和權(quán)限功能5. win10系統(tǒng)掃描功能怎么使用6. Win10中使用PowerShell批量替換文件名具體操作方法7. 菜鳥看過來 認(rèn)識(shí)鍵盤與Windows快捷功能鍵8. Win10 Build 17093更新了什么?Win10 Build 17093新功能一覽9. Win11任務(wù)欄故障將修復(fù)22H2可能回歸任務(wù)欄拖放功能10. win7系統(tǒng)怎么設(shè)置打開或關(guān)閉360瀏覽器手勢功能?
排行榜

網(wǎng)公網(wǎng)安備