shine-Notes

ゆるふわ思考ダンプ

AzurePowershellをインストールできない(Import-Module PowerShellGetが走らない )

【サマリ】
Win7のローカルマシンにAzure PowerShellを導入しようとしてハマった。
・Set-ExecutionPolicy RemoteSigned CurrentUserで成功。

【詳細】

別エントリの件で試行錯誤しようとしたが、そもそもAzurePowerShellが入らない。
Azure PowerShell 最新版のインストール手順 (v3.8.0 現在) **追記あり – Japan Azure Technical Support Engineers' Blog
Windows PowerShell の実行ポリシーが原因である Import-Module エラー

Import-Module PowerShellGetが走らない。
www.koikikukan.com

Set-ExecutionPolicy RemoteSignedを実行したけど駄目。
f:id:shinebalance:20180104112758p:plain

が、Set-ExecutionPolicy RemoteSigned CurrentUserでいけた。
f:id:shinebalance:20180104112946p:plain
f:id:shinebalance:20180104113003p:plain

長かった…
f:id:shinebalance:20180104113015p:plain

以上