Difference between revisions of "Azure Powershell Install"

From UVOO Tech Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
 
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
 
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
 
Install-Module -Name Az -Repository PSGallery -Force
 
Install-Module -Name Az -Repository PSGallery -Force
 +
```
 +
 +
```
 +
Connect-AzAccount
 +
Get-AzRemoteDesktopFile -ResourceGroupName "foo" -Name "bar" -Launch
 
```
 
```
  

Latest revision as of 14:18, 26 October 2023

https://learn.microsoft.com/en-us/powershell/azure/install-azps-windows?view=azps-10.4.1&tabs=powershell&pivots=windows-psgallery

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install-Module -Name Az -Repository PSGallery -Force
Connect-AzAccount
Get-AzRemoteDesktopFile -ResourceGroupName "foo" -Name "bar" -Launch
https://www.powershellgallery.com/packages/Az.Resources/6.11.2