You may already be known that Microsoft claims that Windows PowerShell (comes with its Vista by default) script language helps IT professionals achieve greater control and productivity and to accelerate the automation during system administration process. As a non-Windows but *nix systems administrator/engineer I was always interested if it is possible to access those functions and objects we can easily get in Bash (of course we are talking about each operation system’s specific procedures and objects).

And these days I came across a good article “Shell Games” (by Marcus Nasarek) telling about above mentioned matters…

Both Bash and the Windows Vista PowerShell include commands for navigating directories, managing files, and launching other programs. System administration is an important duty for the shell, and Bash and PowerShell are equipped to help manage systems from the command prompt. Whereas Bash typically relies on a combination of newer tools and classic Unix utilities, the PowerShell has its own set of command-line programs. Windows refers to PowerShell commands as cmdlets. The PowerShell cmdlet called Get-Process is a counterpart to ps, and the cmdlet Get-Content corresponds to less. PowerShell differs significantly from previous Windows command shells. In this article, I look at how Windows Vista PowerShell compares with Bash. Read more >>

More useful links:

1. Microsoft PowerShell official page
2. Bash Reference Manual
3. GNU Bash for Windows

 

6 Comments

 

  1. July 17, 2008  7:21 pm by sileNT Reply

    Needless to say, it is possible to run bash under Windows - just think of Cygwin.

    But it still sucks - bash shell started in cmd.exe window has no history, ctrl+R etc.

  2. Pingback : Mel The Geek, and more… » Blog Archive » Comparing Bash with… Windows command line shell…

  3. March 10, 2011  8:20 pm by Houston Neurology Reply

    It continually is amazing to me just how blog owners for example yourself can find enough time and the commitment to carry on writing remarkable posts. Your website isgood and one of my have to read websites. I simply needed to say thanks.

  4. May 23, 2011  12:26 am by Zumba Video Game Reply

    Do you mind if I quote a few of your posts as long as I provide credit and sources back to your weblog? My blog is in the very same area of interest as yours and my users would really benefit from some of the information you present here. Please let me know if this ok with you. Thank you!

  5. March 30, 2012  5:00 pm by fruit mocking party Reply

    Hi! Do you know if they make any plugins to safeguard against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any tips?

Leave a reply

 

Your email address will not be published.