PowerShell/data/template.ps1
2023-12-05 09:29:58 +01:00

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
}