PowerShell
PS> [DateTime]::Now.ToString()
8/28/2018 2:16:20 AMPowerShell 執行 ps1 檔時出現「系統上已停用指令碼執行」錯誤
Set-ExecutionPolicy RemoteSignedLast updated
PS> [DateTime]::Now.ToString()
8/28/2018 2:16:20 AMSet-ExecutionPolicy RemoteSignedLast updated