Browsed by
Month: July 2014

PowerShell – Get-Command

PowerShell – Get-Command

How do you search for Cmdlets? In search for the cmdlet you are looking for, you first have to remember the naming conventions for cmdlets. The verb noun composition. For instance the verbs that are often uses are; add,get,remove,set and out. Then there is the noun. The noun is often associated with the object of interest, like Process or Printer. To search for a cmdlet use the Get-Command cmdlet. With this command you can list cmdlets by there noun, verb…

Read More Read More

PowerShell – Important help sections

PowerShell – Important help sections

When learning Powershell I found that the most rewarding sections of the Powershell help files where the pages about operators (about_Operators and subtopics). A great way to find the topic you are interested in is just to type for instance help *operators*. This will give you a list of all the help pages about different operators.

PowerShell – Where to start

PowerShell – Where to start

So where to start. Well as always you start with the help! Now that is something you don’t want to hear, but it is the best way to get to know Powershell. So how do you find this help. All you have to do is type help in the Powershell Console and it will tell you how to get help about a cmdlet. For example to get help file for cmdlet Get-Process, type Help Get-Process or just Get-Process -?. This…

Read More Read More