yzbtdiy

yzbtdiy

github
bilibili

Powershell Disable Update Notifications

Since using PowerShell 7, I have been frequently receiving update notifications. Due to delays in Microsoft Store updates, this notification may persist for a period of time. You can disable update notifications by setting environment variables. Refer to Microsoft Learn: https://learn.microsoft.com/zh-cn/powershell/module/microsoft.powershell.core/about/about_update_notifications

image

To add an environment variable, set POWERSHELL_UPDATECHECK to Off. The changes will take effect the next time you start PowerShell.

image

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.