如何使用Windows 遠端PowerShell Office 365 專門用在連線到受管理 ... 宣告變數,名為$session,然後將變數值設定為新的Windows PowerShell 遠端工作 階段。若要執行這項操作,請在Windows 遠端PowerShell 中執行下列指令程式:.