CREATING POWERSHELL FUNCTIONS THAT SUPPORT COMMON PARAMETERS

The vast majority of Windows’ native PowerShell cmdlets include support for common parameters. If you look at the figure below, for example, you can see that the syntax for the Get-Service cmdlet lists CommonParameters among the cmdlet’s supported parameters.

Read More