PowerShell/data/templates/PowerShell.ps1
2025-05-12 15:48:41 +02: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
}