mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-04 22:01:26 +01:00
32 lines
792 B
PowerShell
Executable File
32 lines
792 B
PowerShell
Executable File
<#
|
|
.SYNOPSIS
|
|
← enter a brief description of the script here
|
|
.DESCRIPTION
|
|
← enter a detailed description of the script here
|
|
.PARAMETER
|
|
← enter the description of a parameter here (repeat the .PARAMETER for each parameter)
|
|
.EXAMPLE
|
|
← enter a sample command that uses the script, optionally followed by sample output and a description (repeat the .EXAMPLE for each example)
|
|
.NOTES
|
|
Author: ← enter full name here
|
|
License: ← enter license here
|
|
.LINK
|
|
← enter URL to additional information here
|
|
#>
|
|
|
|
#requires -version 4
|
|
|
|
param() # ← enter script parameters here
|
|
|
|
# ← enter functions here
|
|
|
|
try {
|
|
# ← enter instructions here
|
|
|
|
"✔️ Done."
|
|
exit 0 # success
|
|
} catch {
|
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
exit 1
|
|
}
|