mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
18 lines
456 B
PowerShell
18 lines
456 B
PowerShell
|
function Invoke-WPFControlPanel {
|
||
|
<#
|
||
|
|
||
|
.DESCRIPTION
|
||
|
Simple Switch for lagacy windows
|
||
|
|
||
|
#>
|
||
|
param($Panel)
|
||
|
|
||
|
switch ($Panel){
|
||
|
"WPFPanelcontrol" {cmd /c control}
|
||
|
"WPFPanelnetwork" {cmd /c ncpa.cpl}
|
||
|
"WPFPanelpower" {cmd /c powercfg.cpl}
|
||
|
"WPFPanelsound" {cmd /c mmsys.cpl}
|
||
|
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
||
|
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
||
|
}
|
||
|
}
|