mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 10:11:27 +01:00
28 lines
467 B
PowerShell
Executable File
28 lines
467 B
PowerShell
Executable File
<#
|
|
.SYNOPSIS
|
|
template.ps1
|
|
.DESCRIPTION
|
|
Copy this template PowerShell script to write a new one
|
|
.EXAMPLE
|
|
PS> .\template.ps1
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
.NOTES
|
|
Author: Markus Fleschutz
|
|
License: CC0
|
|
#>
|
|
|
|
param() # <- enter file parameter(s) here
|
|
|
|
# <- enter function(s) here
|
|
|
|
try {
|
|
# <- enter workload here
|
|
|
|
"✔️ Done."
|
|
exit 0
|
|
} catch {
|
|
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
exit 1
|
|
}
|