PowerTip: Switch and Other Things

Summary: Learn to post powerful Windows PowerShell command and other things.

Question: What is the most powerful command in PowerShell?

Answer:  Switch

Question: What is `t used for?

Answer: Tab

Comments (3)

  1. K_Schulte says:

    Hi Ed and Jeremy,

    if you ask me, I would argue that Add-Type and Import-Module are the most powerful commands in powershell … but the discussion is not worth to be extended because it all depends on the definition of "most powerful"


  2. mredwilson says:

    @JeremyEngleWork Hi Jeremy, of course from an exploration stand point Get-Member or Get-Help are both very important, but what I am thinking of here is the different things the command can do. There are so many ways that the switch command can be used (even to the point of reading a text file) that I believe it is the most flexible command — and therefore, the most powerful. But of course that is the great thing about a blog … it promotes an exchange of ideas. I am hoping that my PowerTip quick postings will get people thinking about PowerShell and encourage discussion.

  3. Anonymous says:

    I would argue that Get-Member or Get-Help could be the most powerful.

Skip to main content