add computer management + remove bloat from WPFControlPanel (#3431)

This commit is contained in:
MyDrift
2025-06-26 20:23:33 +02:00
committed by GitHub
parent d6b78d1d06
commit 661dfa6318
3 changed files with 17 additions and 7 deletions

View File

@ -11,14 +11,15 @@ function Invoke-WPFControlPanel {
param($Panel)
switch ($Panel) {
"WPFPanelcontrol" {cmd /c control}
"WPFPanelnetwork" {cmd /c ncpa.cpl}
"WPFPanelpower" {cmd /c powercfg.cpl}
"WPFPanelregion" {cmd /c intl.cpl}
"WPFPanelsound" {cmd /c mmsys.cpl}
"WPFPanelcontrol" {control}
"WPFPanelcomputer" {compmgmt.msc}
"WPFPanelnetwork" {ncpa.cpl}
"WPFPanelpower" {powercfg.cpl}
"WPFPanelregion" {intl.cpl}
"WPFPanelsound" {mmsys.cpl}
"WPFPanelprinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
"WPFPanelsystem" {cmd /c sysdm.cpl}
"WPFPaneluser" {cmd /c "control userpasswords2"}
"WPFPanelsystem" {sysdm.cpl}
"WPFPaneluser" {control userpasswords2}
"WPFPanelGodMode" {Start-Process "shell:::{ED7BA470-8E54-465E-825C-99712043E01C}"}
}
}