PowerTip: Switch and Other Things

PowerTip: Switch and Other Things

Rate This
  • Comments 3

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

Leave a Comment
  • Please add 1 and 3 and type the answer here:
  • Post
  • I would argue that Get-Member or Get-Help could be the most powerful.

  • @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.

  • 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"

    Klaus.

Page 1 of 1 (3 items)