From 99725bd127c25f981350f189d0b6ed5600d738a7 Mon Sep 17 00:00:00 2001 From: "Mike F. Robbins" Date: Wed, 13 Sep 2023 16:09:52 -0500 Subject: [PATCH] Added in-tool upgrade notification info (#2718) --- .../azps-10.3.0/configure-global-settings.md | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/docs-conceptual/azps-10.3.0/configure-global-settings.md b/docs-conceptual/azps-10.3.0/configure-global-settings.md index 8b7f849fcc..94163b8af3 100644 --- a/docs-conceptual/azps-10.3.0/configure-global-settings.md +++ b/docs-conceptual/azps-10.3.0/configure-global-settings.md @@ -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 @@ -69,6 +69,33 @@ Update-AzConfig -DefaultSubscriptionForLogin > 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