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
Show parent comment
-6
u/GCSS-MC Dec 28 '25
I tested those commands and they worked as intended. I am having an issue I am working on where when using cmdlets, each time I right click something in file explorer, it switches between the two context menus instead of just being permanent.