mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
* changed autolinks to now use frontmatter instead off #heading * updated all docs with front matter names * Update DisableLegacyRecovery.md this was the same as EnableLegacyRecovery file * made sure pages have got the corrects scripts on them * Update default.md updated the archetype default to make sure every new page had the title and description automatically on the front matter * Create BraveDebloat.md * added brave debloat link to tweaks.json * Update tweaks.json * Update tweaks.json
33 lines
764 B
Markdown
33 lines
764 B
Markdown
---
|
|
title: "System Properties"
|
|
description: ""
|
|
---
|
|
```powershell
|
|
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}
|
|
}
|
|
}
|
|
```
|