2026-02-10 19:49:36 +00:00
|
|
|
---
|
|
|
|
|
title: "System Properties"
|
|
|
|
|
description: ""
|
|
|
|
|
---
|
2026-02-18 12:37:09 -06:00
|
|
|
|
2026-02-12 20:33:11 +00:00
|
|
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
2026-01-07 19:55:35 +00:00
|
|
|
function Invoke-WPFControlPanel {
|
|
|
|
|
<#
|
|
|
|
|
|
|
|
|
|
.SYNOPSIS
|
|
|
|
|
Opens the requested legacy panel
|
|
|
|
|
|
|
|
|
|
.PARAMETER Panel
|
|
|
|
|
The panel to open
|
|
|
|
|
|
|
|
|
|
#>
|
|
|
|
|
param($Panel)
|
|
|
|
|
|
|
|
|
|
switch ($Panel) {
|
2026-01-14 20:28:45 +02:00
|
|
|
"WPFPanelControl" {control}
|
|
|
|
|
"WPFPanelComputer" {compmgmt.msc}
|
|
|
|
|
"WPFPanelNetwork" {ncpa.cpl}
|
|
|
|
|
"WPFPanelPower" {powercfg.cpl}
|
|
|
|
|
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
|
|
|
|
"WPFPanelRegion" {intl.cpl}
|
|
|
|
|
"WPFPanelRestore" {rstrui.exe}
|
|
|
|
|
"WPFPanelSound" {mmsys.cpl}
|
|
|
|
|
"WPFPanelSystem" {sysdm.cpl}
|
|
|
|
|
"WPFPanelTimedate" {timedate.cpl}
|
|
|
|
|
"WPFPanelUser" {control userpasswords2}
|
2026-01-07 19:55:35 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|