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