Why is powershell scripts extenson .ps1?

This topic contains 2 replies, has 2 voices, and was last updated by  Andreas Lorensen 1 year, 5 months ago.

  • Author
  • #55093

    Andreas Lorensen

    I am wondering why powershell scripts extension is .ps1 – why is it not just .ps or .pss (for powershellscript). What dos 1 mean?

  • #55095

    Don Jones

    1 is the version of the language engine. The idea is that, if they ever had to radically change the language, they could switch to .ps2, and earlier versions would know not to try and run those scripts.

  • #55096

    Andreas Lorensen

    That makes sense. Thanks.

You must be logged in to reply to this topic.