Template/PowerShell/Cmdlets/Template.ps1

# References:
# 1. Below are the list of predefined vars that can be used:
# - $PSScriptRoot [System defined] The folder path for current scipt file, NOT the caller script to call this function
# 2. Please do NOT try to read/write variable in parent scope as module cmdlet will run in module scope, cannot access the caller scope.
# But it is OK to access global scope.

<# Template 1 #>
<#
param(
    [Parameter(Position=0, Mandatory=$true, ParameterSetName='xxx')]
    [string] $Parm1
)
 
 
#>


<# Template 2 #>
<#
param(
    [parameter(ValueFromPipeline=$true)]
    [string] $String
)
 
Begin{
}
 
Process{
}
 
End{
}
 
#>