mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 22:58:32 +00:00
* updated theme to the latest version * Update en.yaml * removed all the order from the docs * add the store link * update homepage * add filename and line number to all the code blocks and also removed pages * auto pull the code from the json files * Merge branch 'main' into winutil-new-features * the script updated linenostart= * Delete LaptopHibernation.md
33 lines
852 B
Markdown
33 lines
852 B
Markdown
---
|
|
title: "Computer Management"
|
|
description: ""
|
|
---
|
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
|
function Invoke-WPFControlPanel {
|
|
<#
|
|
|
|
.SYNOPSIS
|
|
Opens the requested legacy panel
|
|
|
|
.PARAMETER Panel
|
|
The panel to open
|
|
|
|
#>
|
|
param($Panel)
|
|
|
|
switch ($Panel) {
|
|
"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}
|
|
}
|
|
}
|
|
```
|