Saturday, April 25, 2020

Help in Powershell 7

to see how many commands are available

 get-command

to count the numbers of commands available

 get-command | measure

due to consistent syntax each powershell command is build up by a verb a dash and a noun

to see all the verbs

get-verb


to see the nouns there is no standard procedure

for example

to see the all get command with process

suppose we want to get help on starting process


get-help start-process

to get the help with full documentation

get-help start-process -full


for example to start firefox

start-process firefox

get-command *process

No comments:

Post a Comment