PowerShell/Docs/poweroff.ps1.md

30 lines
715 B
Markdown
Raw Normal View History

2021-08-29 12:44:05 +02:00
# PowerShell Script /home/mf/PowerShell/Scripts/poweroff.ps1
## Synopsis
poweroff.ps1
## Description
Halts the local computer (needs admin rights)
## Syntax
```powershell
/home/mf/PowerShell/Scripts/poweroff.ps1 [<CommonParameters>]
```
## <CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
## Example
```powershell
PS>.\poweroff.ps1
```
## Notes
Author: Markus Fleschutz
License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Created by convert-ps2md.ps1*