Quantcast
Channel: PowerShell General
Viewing all articles
Browse latest Browse all 10624

Param cmdletbinding() full parameters list

$
0
0

Hi,

Can anyone please give me the list of parameters in param, After we specify cmdletbinding(). As of now, I know only 4 parameters. please have a look at the below example.

[CmdletBinding()]
Param(
       [Parameter(Mandatory=$True,

                    ValueFromPipeline=$true,

                    ValueFromPipelineByPropertyName=$true,

                    HelpMessage= 'Help message')]

Now, I want the list of all these parameters given in the parameter block in above example like, mandatory, value from pipeline, valuefrompipelinebyproperyname, helpmessage etc etc... I want the full list of these parameters. Please do let me know how can i get it. 

 

Chaitanya.


Viewing all articles
Browse latest Browse all 10624

Trending Articles