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 <# Template 1 #> <# param( [Parameter(Position=0, Mandatory=$true, ParameterSetName='xxx')] [string] $Parm1 ) #> <# Template 2 #> <# param( [parameter(ValueFromPipeline=$true)] [string] $String ) Begin{ } Process{ } End{ } #> |