0% found this document useful (0 votes)
36 views1 page

Using Windows Powershell Cmdlets

Windows PowerShell cmdlets follow a verb-noun naming convention, where the verb specifies the action and the noun specifies what the action applies to. Common verbs include Get, Set, Add, Remove, and Format. Get is the most common verb, used in over 25% of cmdlets, and retrieves information specified by the noun. To use a cmdlet, type the verb-noun name into the Windows PowerShell console, with Tab completion helping to autocomplete the cmdlet name before pressing Enter to run it.

Uploaded by

ArthurPink
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views1 page

Using Windows Powershell Cmdlets

Windows PowerShell cmdlets follow a verb-noun naming convention, where the verb specifies the action and the noun specifies what the action applies to. Common verbs include Get, Set, Add, Remove, and Format. Get is the most common verb, used in over 25% of cmdlets, and retrieves information specified by the noun. To use a cmdlet, type the verb-noun name into the Windows PowerShell console, with Tab completion helping to autocomplete the cmdlet name before pressing Enter to run it.

Uploaded by

ArthurPink
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Using Windows PowerShell cmdlets

Windows PowerShell cmdlets all work in a similar fashion. This simplifies their use. All Windows
PowerShell cmdlets have a two-part name. The first part is a verb, although the verb is not always strictly
grammatical. The verb indicates the action for the command to take. Examples of verbs include Get, Set,
Add, Remove, and Format. The noun is the thing to which the action will apply. Examples of nouns include
Process, Service, Disk, and NetAdapter. A dash combines the verb with the noun to complete the
Windows PowerShell command. Windows PowerShell commands are named cmdlets (pronounced
command let) because they behave like small commands or programs that are used standalone or pieced
together through a mechanism called the pipeline. For more information about the pipeline, see Chapter 2,
Using Windows PowerShell Cmdlets.

The most common verb: Get


Out of nearly 2,000 cmdlets (and functions) on Windows 8, over 25 percent of them use the verb Get. The
verb Get retrieves information. The noun portion of the cmdlet specifies the information retrieved. To
obtain information about the processes on your system, open the Windows PowerShell console by either
clicking the Windows PowerShell icon on the taskbar or typing PowerShell on the Start window of
Windows 8 to bring up the search results for Windows PowerShell, as discussed in a preceding section,
Launching Windows PowerShell with administrator rights.
Once the Windows PowerShell console appears, run the Get-Process cmdlet. To do this, use the Windows
PowerShell Tab Completion feature to complete the cmdlet name. Once the cmdlet name appears, press the Enter
key to cause the command to execute.

You might also like