Powershell : List all the available Parameters for a Cmdlet

We can get all the available parameters for a Powershell cmdlet using Get-Help cmdlet, it displays the detailed description of all the available parameters.

Get-Help [Cmdlet Name] -Parameter *

The following command displays descriptions of all the parameters of the Get-Childitem cmdlet.

Get-Help Get-ChildItem -Parameter *

The following command displays descriptions of the parameters of the Get-Childitem cmdlet that begin with “F” (Filter and Force):

Get-Help Get-ChildItem -Parameter F*
Advertisement

Leave a Comment