2021-10-04 13:31:02 +02:00
|
|
|
|
<#
|
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
|
|
|
|
.NOTES
|
2021-08-26 12:38:08 +02:00
|
|
|
|
Author: ← enter full name here
|
|
|
|
|
License: ← enter license here
|
2021-08-29 17:50:03 +02:00
|
|
|
|
.LINK
|
|
|
|
|
← enter URL here
|
2021-08-26 11:08:14 +02:00
|
|
|
|
#>
|
|
|
|
|
|
2021-10-04 13:31:02 +02:00
|
|
|
|
#requires -version 4
|
|
|
|
|
|
2021-08-26 12:48:04 +02:00
|
|
|
|
param() # ← enter script parameters here
|
2021-08-26 11:08:14 +02:00
|
|
|
|
|
2021-08-26 12:48:04 +02:00
|
|
|
|
# ← enter functions 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
|
|
|
|
|
}
|