forked from fleschutz/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.ps1
More file actions
executable file
·31 lines (26 loc) · 792 Bytes
/
Copy pathtemplate.ps1
File metadata and controls
executable file
·31 lines (26 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<#
.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
}