Blog Post

ITOps Talk Blog
1 MIN READ

The Syntax Difference Between Python and PowerShell

AnthonyBartolo's avatar
Oct 06, 2020

During MS Ignite 2020, I was surprised to learn of a growing debate that system administrators are starting to become increasing vocal on...

"Which scripting language is better? Python or PowerShell?"

 

Having only dabbled in both, I am not an authority on either to share my opinion.  From a fact's perspective, PowerShell provides a shell scripting environment whereas Python is an interpreted high-level programming language. Both can accomplish similar tasks but thier differences also help distinguish themselves to complete certain tasks.

 

So why not use both?  

 

This was a question I began to research for this post and thought it would be an innovative idea to compare the similarities in syntax between Python and PowerShell.  In conducting said research I came across the work of Adam Driscoll, an 8-year MVP in the Cloud and Datacenter space.

  

Here is a link to his blog post sharing details on the reference between PowerShell and Python language syntax: https://blog.ironmansoftware.com/powershell-vs-python/  

Updated Oct 07, 2020
Version 8.0
  • AdamDriscoll's avatar
    AdamDriscoll
    Copper Contributor

    Hi Anthony, 

     

    I appreciate the mention but please at least reference my original blog post the next time you want to reblog it. 

     

    https://blog.ironmansoftware.com/powershell-vs-python/

     

    I also want to point out when you reblog something like this on a popular domain like Microsoft.com, it means that any SEO I would have generated by producing the content that I spent a bunch of time on will no longer end up on my site. I will never outrank Microsoft.com. Content like this takes me time to produce and ensures that I have visitors and potential customers visiting my site. 

     

    Sorry for the rant. 

     

     

  • Hi AdamDriscoll. I apologize for the mistake on my part.  The blog post originally shared the link directly to your "About Ironman Software" page since the time of this blog's publishing.  I have changed that to reflect the desired URL you have chosen and have removed the reference table.