Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme.md #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Snippets/Azure/CLI/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ Using PowerShell as Admin install Azure CLI
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
```

After the Download is completed, use the following command to check your new Azure CLI's ExecutionPolicy,
this will need to display ```Unrestricted``` in order to function correctly.
```
Get-ExecutionPolicy
```

If anything other than ```Unrestricted``` is displayed {RemoteSigned, Restricted} use the following command to change the ExecutionPolicy
```
Set-ExecutionPolicy Unrestricted
```

If you haven't already, check your new Azure CLI's ExecutionPolicy again to confirm that the ExecutionPolicy has been set to ```Unrestricted```
```
Get-ExecutionPolicy
```

Make sure you restart the powershell instance, then run

```
Expand Down