r/PowerShell • u/GCSS-MC • Dec 28 '25
Toggle Windows 11 Context menu
This script will toggle your default context menu in Windows 11 (Switch between the Win 11 and the "show more options" as default when you right click in Windows Explorer)
https://github.com/volshebork/PowerShell/blob/main/Context%20Menu/Toggle-ContextMenu.ps1
I am much more of a bash guy and I think too many comments is better than two few. I come from Linux, so I am not sure if there are any ps best practices I am missing. Hope this helps someone, because I know it is a game changer for me.
14
Upvotes
View all comments
2
u/dbsmith Dec 29 '25
Oh cool! I have been maintaining mine since 2023. It uses native PowerShell for more of the actions and defaults to disabling the new context menu.