Az.Accounts

Manages credentials and common configuration for all Azure modules.

Accounts

Add-AzEnvironment

Adds endpoints and metadata for an instance of Azure Resource Manager.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Clear-AzConfig

Clears the values of configs that are set by the user.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Clear-AzContext

Remove all Azure credentials, account, and subscription information.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Clear-AzDefault

Clears the defaults set by the user in the current context.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Connect-AzAccount

Connect to Azure with an authenticated account for use with cmdlets from the Az PowerShell modules.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Disable-AzContextAutosave

Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Disable-AzDataCollection

Opts out of collecting data to improve the Azure PowerShell cmdlets. Data is collected by default unless you explicitly opt out.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Disable-AzureRmAlias

Disables AzureRm prefix aliases for Az modules.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Disconnect-AzAccount

Disconnects a connected Azure account and removes all credentials and contexts associated with that account.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Enable-AzContextAutosave

Azure contexts are PowerShell objects representing your active subscription to run commands against, and the authentication information needed to connect to an Azure cloud. With Azure contexts, Azure PowerShell doesn't need to reauthenticate your account each time you switch subscriptions. For more information, see Azure PowerShell context objects.

This cmdlet allows the Azure context information to be saved and automatically loaded when you start a PowerShell process. For example, when opening a new window.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Enable-AzDataCollection

Enables Azure PowerShell to collect data to improve the user experience with the Azure PowerShell cmdlets. Executing this cmdlet opts in to data collection for the current user on the current machine. Data is collected by default unless you explicitly opt out.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Enable-AzureRmAlias

Enables AzureRm prefix aliases for Az modules.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Export-AzConfig

Exports all the configs into a file so that it can be imported on another machine.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzAccessToken

Get raw access token. When using -ResourceUrl, please make sure the value does match current Azure environment. You may refer to the value of (Get-AzContext).Environment.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzConfig

Gets the configs of Azure PowerShell.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzContext

Gets the metadata used to authenticate Azure Resource Manager requests.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzContextAutosaveSetting

Display metadata about the context autosave feature, including whether the context is automatically saved, and where saved context and credential information can be found.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzDefault

Get the defaults set by the user in the current context.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzEnvironment

Get endpoints and metadata for an instance of Azure services.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzSubscription

Get subscriptions that the current account can access.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Get-AzTenant

Gets tenants that are authorized for the current user.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Import-AzConfig

Imports configs from a file that was previously exported by Export-AzConfig.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Import-AzContext

Loads Azure authentication information from a file.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Invoke-AzRestMethod

Construct and perform HTTP request to Azure resource management endpoint only

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Open-AzSurveyLink

Open survey link in default browser.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Register-AzModule

FOR INTERNAL USE ONLY - Provide Runtime Support for AutoRest Generated cmdlets

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Remove-AzContext

Remove a context from the set of available contexts

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Remove-AzEnvironment

Removes endpoints and metadata for connecting to a given Azure instance.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Rename-AzContext

Rename an Azure context. By default contexts are named by user account and subscription.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Resolve-AzError

Display detailed information about PowerShell errors, with extended details for Azure PowerShell errors.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Save-AzContext

Saves the current authentication information for use in other PowerShell sessions.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Select-AzContext

Select a subscription and account to target in Azure PowerShell cmdlets

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Send-Feedback

Sends feedback to the Azure PowerShell team via a set of guided prompts.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Set-AzContext

Sets the tenant, subscription, and environment for cmdlets to use in the current session.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Set-AzDefault

Sets a default in the current context

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Set-AzEnvironment

Sets properties for an Azure environment.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Uninstall-AzureRm

Removes all AzureRm modules from a machine.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Update-AzConfig

Updates the configs of Azure PowerShell.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.