How to find all of the available parameters of a cmdlet


I am new to Power Shell, and I would like to get your helps and expertise on how to get all of available parameters of a given cmdlet ?

For example, I tried a Get-PSDrive cmdlet and I know that name is one the parameter of of the Get-PsDrive cmdlet such as Get-PsDrive -Name *.


I understand that Get-PSDrive has other parameters as well. I would like to find out if is it a way to find out all other parameters of Get-PSDrive and how?

Get-Help Get-PSDrive.

or you should have atleast tried

help Get-PSDrive

I would suggest to simply execute a Get-Help before doing the above.

Thank you so much . I followed the instruction and got all of the available parameters.