Chris Bradshaw 2/9/2022

Set the default location in Azure PowerShell

Read Original

This technical guide explains how to configure a default location (region) for Azure PowerShell cmdlets using the $PSDefaultParameterValues preference variable. It demonstrates setting defaults for specific cmdlets or using wildcards for all *-Az* cmdlets, shows how to override the default, and suggests adding the setting to your PowerShell profile or a custom function for convenience.

Set the default location in Azure PowerShell

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week