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

Added in-tool upgrade notification info #2718

Merged
merged 1 commit into from
Sep 13, 2023
Merged
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
29 changes: 28 additions & 1 deletion docs-conceptual/azps-10.3.0/configure-global-settings.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Configure Azure PowerShell global settings using centralized and granular AzConfig cmdlets
ms.custom: devx-track-azurepowershell
ms.date: 09/05/2023
ms.date: 09/13/2023
ms.devlang: powershell
ms.service: azure-powershell
ms.topic: conceptual
Expand Down Expand Up @@ -69,6 +69,33 @@ Update-AzConfig -DefaultSubscriptionForLogin <Subscription ID or Name>
> Not to be confused with **the subscription of the default context**, the
> **DefaultSubscriptionForLogin** configuration takes effect only when authenticating to Azure.

## Upgrade notifications

In-tool notifications for version upgrades of Azure PowerShell is a feature released in Az
PowerShell module version 10.3.0.

When a new version of Azure PowerShell is available, an upgrade notification is displayed in Azure
PowerShell. To determine if upgrade notifications are enabled, use the `Get-AzConfig` cmdlet with
the **CheckForUpgrade** parameter, as shown in the following example.

```azurepowershell-interactive
Get-AzConfig -CheckForUpgrade
```

To enable upgrade notifications for Azure PowerShell, use the `Update-AzConfig` cmdlet with the
**CheckForUpgrade** parameter and `$true` for its value, as shown in the following example.

```azurepowershell-interactive
Update-AzConfig -CheckForUpgrade $true
```

To turn off upgrade notifications, use the `Update-AzConfig` cmdlet with the **CheckForUpgrade**
parameter and `$false` for its value, as shown in the following example.

```azurepowershell-interactive
Update-AzConfig -CheckForUpgrade $false
```

## Azure region identification

Azure customers can choose to deploy resources in many different regions. In some cases, customers
Expand Down