As we saw while looking at syntax in Get-Help, commands accept a mixture of parameters. The following sections show how these parameters are described in help and how to use them.
Parameters and parameter sets
Parameters
When viewing help for a command, we can see many different approaches to different parameters.
Optional parameters
Optional parameters are surrounded by square brackets. This denotes an optional parameter that requires a value when used:
SYNTAX
Get-Process [-ComputerName <String[]>] ...
In this case, if a value for a parameter is to be specified...