If I define the command line parameters as such:
[CmdletBinding()]
Param(
[Parameter(Mandatory=$False)]
[string[]$myString
)
How do I evaluate if $myString is present and create a variable to represent yes or no?
Many thanks.
If I define the command line parameters as such:
[CmdletBinding()]
Param(
[Parameter(Mandatory=$False)]
[string[]$myString
)
How do I evaluate if $myString is present and create a variable to represent yes or no?
Many thanks.