PowerShell script to open Settings (control panel)

Microsoft Windows
Post Reply
User avatar
Simon Sheppard
Posts: 190
Joined: 2021-Jul-10, 7:46 pm
Contact:

PowerShell script to open Settings (control panel)

Post by Simon Sheppard »

This simple script displays a text menu and then opens your selection of Settings (control panel)
https://ss64.com/ps/syntax-settings.html

The script works but I feel like there may be a less verbose way of writing it, perhaps with a hash table.
Also it would be good if the first menu option could accept multiple items, so for example D2 could open keyboard settings directly rather than selecting D and then 2.
Post Reply