PowerShell/Scripts/template.ps1
2021-08-26 12:48:04 +02:00

34 lines
753 B
PowerShell
Executable File

#requires -version 4
<#
.SYNOPSIS
← enter overview of script here
.DESCRIPTION
← enter brief description of script here
.INPUTS
← enter inputs here (if any, otherwise state None)
.OUTPUTS
← enter outputs here (if any, otherwise state None)
.EXAMPLE
PS> .\template.ps1 ← enter example here (repeat this attribute for more than one example)
.LINK
← enter URL here
.NOTES
Author: ← enter full name here
Creation Date: ← enter date here
License: ← enter license here
#>
param() # ← enter script parameters here
# ← enter functions here
try {
# ← enter instructions here
"✔️ Done."
exit 0
} catch {
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}