PowerShell Tip – How to find all cmdlets with specific parameter?

Do you want to find all cmdlets with specific parameter? Since Windows PowerShell 3.0 you can use Get-Command -ParameterName. PS C:\Windows\system32> gcm -ParameterName Domain CommandType Name ModuleName ———– —- ———- Cmdlet Add-Computer Microsoft.PowerShell.Management But do not forget to import modules that should be searched. PS C:\Windows\system32> ipmo ActiveDirectory, GroupPolicy PS C:\Windows\system32> gcm -ParameterName Domain CommandType […]