Windows PowerShell

sangern發表於2024-05-30

Windows PowerShell 是微軟釋出的一種命令列外殼程式和指令碼環境,使命令列使用者和指令碼編寫者可以利用 .NET Framework的強大功能。
引入了許多非常有用的新概念,從而進一步擴充套件了在 Windows 命令提示符和 Windows Script Host 環境中獲得的知識和建立的指令碼。
==============================================
微軟嘗試使用各種方法使PowerShell取代目前的CMD
在Windows 7中內建了PowerShell2.0, Windows 8中內建了PowerShell3.0,Windows 10,11中內建了PowerShell5.1
==============================================
執行Windows PowerShell:
1.在任意資料夾按住 按住 shift+右鍵,選擇[在此處開啟PowerShell視窗(S)]
2.按Windows + R開啟“執行”對話方塊,然後在文字框中鍵入“ powershell”。您可以單擊“確定”(或按Enter)開啟常規的PowerShell視窗
3.由於PowerShell是預設的Windows 10程式,因此可以在“開始”選單的“所有應用程式”部分單擊“ Windows PowerShell”資料夾,然後選擇“ Windows PowerShell”將其開啟
==============================================
Windows PowerShell 屬性
顏色:
螢幕文字: 紅51,綠255, 藍61
螢幕背景:黑色

字型:
大小36
字型:黑體

游標:中
==============================================
https://learn.microsoft.com/zh-cn/host-integration-server/core/powershell-module-cmdlets-and-commands

https://zhuanlan.zhihu.com/p/670834959
傳統CMD是32位的命令列程式【cmd.exe】,繼承DOS操作模式
Cmdlet是PowerShell的命令,所有的cmdlet命令都遵循動詞-名詞這樣語法結構,PowerShell提供了Get-Command這個強大的命令,可以查詢所有的cmdlet命令。

powershell中的cmdlet命令
https://www.cnblogs.com/hyyx/p/13935900.html

PowerShell系列:從零開始學習PowerShell系列教程
https://blog.csdn.net/xishining/category_12311171.html

相關文章