A list of all the region names and locations for Azure
You can recreate the list anytime using this command:
az account list-locations -o table| <# | |
| .SYNOPSIS | |
| Configures a secure WinRM listener over HTTPS to enable | |
| SSL-based WinRM communications. This script has not been | |
| tested on Windows Server 2003R2 or earier, and may not | |
| work on these OSes for a variety of reasons. | |
| If Windows Remote Management is disabled (e.g. service | |
| stopped, GPO Policy, etc.), this script will likely fail. | |
| .DESCRIPTION |
| #Requires -Version 5.1 | |
| # This is more of a backup of my profile but if you like it use it I guess. | |
| # Some of the custom functions I have sourced on Github as gists, which are | |
| # commented and documented, unlike these here. | |
| function install-and-import { | |
| Param( | |
| [Parameter(Mandatory=$true)] | |
| [string]$moduleName, | |
| [string]$Scope = 'CurrentUser' |
| <# | |
| .SYNOPSIS | |
| Gets a PowerShell Credential (PSCredential) from the Windows Credential Manager | |
| .DESCRIPTION | |
| This module will return a [PSCredential] object from a credential stored in Windows Credential Manager. The | |
| Get-StoredCredential function can only access Generic Credentials. | |
| Alias: GSC |