CHGLOG PowerShell 7 vs 5.1: Check for Cmdlet Parameter Support

Windows PowerShellAssuming that you have already run Update-Help -force -UICulture “en-us” on your local machine, you can check if a set of cmdlets support a particular parameter.

Staying on the *-Service cmdlets, execute the following to check which cmdlet supports the –ComputerName parameter in your target PowerShell version:

$s = Get-Help *-service
$ | % { $Psitem; Get-Help $PSItem -Parameter ComputerName }