Add export-scripts2manuals.ps1 and export-scripts2serenade.ps1

This commit is contained in:
Markus Fleschutz 2021-10-09 09:34:26 +02:00
parent c4ba6a718a
commit c7c8264551
2 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,33 @@
<#
.SYNOPSIS
enter overview of script here
.DESCRIPTION
enter brief description of script here
.INPUTS
enter inputs here (if any, otherwise state None)
.OUTPUTS
enter outputs here (if any, otherwise state None)
.EXAMPLE
PS> .\template.ps1 enter example here (repeat this attribute for more than one example)
.NOTES
Author: enter full name here
License: enter license here
.LINK
enter URL here
#>
#requires -version 4
param() # ← enter script parameters here
# ← enter functions here
try {
# ← enter instructions here
"✔️ Done."
exit 0
} catch {
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}

View File

@ -0,0 +1,33 @@
<#
.SYNOPSIS
enter overview of script here
.DESCRIPTION
enter brief description of script here
.INPUTS
enter inputs here (if any, otherwise state None)
.OUTPUTS
enter outputs here (if any, otherwise state None)
.EXAMPLE
PS> .\template.ps1 enter example here (repeat this attribute for more than one example)
.NOTES
Author: enter full name here
License: enter license here
.LINK
enter URL here
#>
#requires -version 4
param() # ← enter script parameters here
# ← enter functions here
try {
# ← enter instructions here
"✔️ Done."
exit 0
} catch {
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}