mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Replace tabs by spaces in meta header
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
#!/bin/powershell
|
||||
<#
|
||||
.SYNTAX ./poweroff.ps1
|
||||
.DESCRIPTION halts the local computer, administrator rights are required
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
.SYNTAX ./poweroff.ps1
|
||||
.DESCRIPTION halts the local computer, administrator rights are required
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
try {
|
||||
Stop-Computer
|
||||
stop-computer
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user