Update the comment-based help

This commit is contained in:
Markus Fleschutz
2021-08-29 17:50:03 +02:00
parent 11ca126b33
commit e10261351c
249 changed files with 780 additions and 1021 deletions

View File

@ -1,19 +1,17 @@
<#
#Requires -RunAsAdministrator
<#
.SYNOPSIS
hibernate.ps1
.DESCRIPTION
Enables hibernate mode for the local computer (needs admin rights)
Enables hibernate mode for the local computer (needs admin rights).
.EXAMPLE
PS> .\hibernate.ps1
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
#Requires -RunAsAdministrator
try {
[Void][System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
[System.Windows.Forms.Application]::SetSuspendState("Hibernate", $false, $false);