差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| windows:powershell:commands:execution_policy [2020/02/23 01:30] – [Get-ExecutionPolicy/Set-ExecutionPolicy] ともやん | windows:powershell:commands:execution_policy [2020/05/29 13:50] (現在) – 削除 ともやん | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== Get-ExecutionPolicy/ | ||
| - | コンピューターの PowerShell 実行ポリシーを取得/ | ||
| - | **動作: Windows/ | ||
| - | \\ | ||
| - | **Windows**\\ | ||
| - | <code powershell> | ||
| - | PS > Get-ExecutionPolicy | ||
| - | RemoteSigned | ||
| - | PS > Get-ExecutionPolicy -List | ||
| - | |||
| - | Scope ExecutionPolicy | ||
| - | ----- --------------- | ||
| - | MachinePolicy | ||
| - | | ||
| - | Process | ||
| - | CurrentUser | ||
| - | | ||
| - | </ | ||
| - | |||
| - | **Linux**\\ | ||
| - | <code powershell> | ||
| - | PS > Get-ExecutionPolicy | ||
| - | Unrestricted | ||
| - | PS > Get-ExecutionPolicy -List | ||
| - | |||
| - | Scope ExecutionPolicy | ||
| - | ----- --------------- | ||
| - | MachinePolicy | ||
| - | | ||
| - | Process | ||
| - | CurrentUser | ||
| - | | ||
| - | </ | ||
| - | |||
| - | **Windows**\\ | ||
| - | <code powershell> | ||
| - | PS > Set-ExecutionPolicy RemoteSigned | ||
| - | </ | ||
| - | or | ||
| - | <code powershell> | ||
| - | PS > Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine | ||
| - | </ | ||
| - | |||
| - | **Linux**\\ | ||
| - | <code powershell> | ||
| - | PS > Set-ExecutionPolicy RemoteSigned | ||
| - | Set-ExecutionPolicy: | ||
| - | </ | ||
| - | |||
| - | ===== 参考文献 ===== | ||
| - | [[https:// | ||
| - | [[https:// | ||