Skip to content

Commit 2867f60

Browse files
authored
Added details to disable breaking change messages (#26488)
Co-authored-by: Mike F. Robbins <[email protected]>
1 parent 4011e52 commit 2867f60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

documentation/breaking-changes/breaking-changes-attribute-help.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ Alternatively, set the env variable "SuppressAzurePowerShellBreakingChangeWarnin
6060
Set-Item Env:\SuppressAzurePowerShellBreakingChangeWarnings "true"
6161
```
6262

63+
This environment variable must be set before importing the **Az** or **Az.Accounts** PowerShell module for it to take effect in the current PowerShell session.
64+
65+
For additional methods to disable breaking change warning messages in Azure PowerShell, see [Configure Azure PowerShell global settings](https://learn.microsoft.com/powershell/azure/configure-global-settings#breaking-change-warning-messages).
66+
6367
NOTE :
6468
- The only time you will see the output (at runtime) of an attribute applied to a parameter (property or field) is if the parameter is actually invoked on the cmdline. The breaking change attributes to all parameters that are not invoked are ignored.
6569

0 commit comments

Comments
 (0)