Guys,
In
the previous video, we discussed about cmdlet vs function. In this video, I will
talk about basic element of our scripting ‘Parameters’.
A
parameter is way of passing input to the cmdlet. Every parameter can take a
value and process to perform an operation and in turn generates output.
Parameters are various type
·
Mandatory Parameters
·
Optional Parameters
·
Positional Parameters
A
parameter is always part of a parameter set, every cmdlet in PowerShell will be
having more than one parameter sets and multiple parameters, watch this video
to understand these concepts.
Please
subscribe to my youtube channel at www.youtube.com/c/nextopsvideos
Happy
powershelling!!!
Next
Topic : 11 PowerShell
Basics – Commands and Errors