mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 10:54:18 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original `curl` command:
|
||||
|
||||
`tldr curl -p common`
|
||||
`tldr curl {{[-p|--platform]}} common`
|
||||
|
||||
- View documentation for PowerShell's `Invoke-WebRequest` command:
|
||||
|
||||
|
||||
41
tldr/windows/powercfg
Normal file
41
tldr/windows/powercfg
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# powercfg
|
||||
|
||||
> Configure power settings and manage power schemes.
|
||||
> More information: <https://learn.microsoft.com/windows-hardware/design/device-experiences/powercfg-command-line-options>.
|
||||
|
||||
- Display the current power scheme:
|
||||
|
||||
`powercfg /getactivescheme`
|
||||
|
||||
- List all available power schemes:
|
||||
|
||||
`powercfg {{[/L|/list]}}`
|
||||
|
||||
- Set the active power scheme by its GUID:
|
||||
|
||||
`powercfg /setactive {{GUID}}`
|
||||
|
||||
- Turn off the display after a specific number of minutes on AC power:
|
||||
|
||||
`powercfg {{[/X|/change]}} monitor-timeout-ac {{minutes}}`
|
||||
|
||||
- Turn off the display after a specific number of minutes on battery power:
|
||||
|
||||
`powercfg {{[/X|/change]}} monitor-timeout-dc {{minutes}}`
|
||||
|
||||
- Put the system to sleep after a specific number of minutes on AC power:
|
||||
|
||||
`powercfg {{[/X|/change]}} standby-timeout-ac {{minutes}}`
|
||||
|
||||
- Generate a system sleep diagnostics report and save it to a file:
|
||||
|
||||
`powercfg /sleepstudy /output {{path o
|
||||
eport.html}}`
|
||||
|
||||
- Generate a full power efficiency report and save it to a file:
|
||||
|
||||
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original `wget` command:
|
||||
|
||||
`tldr wget -p common`
|
||||
`tldr wget {{[-p|--platform]}} common`
|
||||
|
||||
- View documentation for PowerShell's `Invoke-WebRequest` command:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user