Why is powershell scripts extenson .ps1?

This topic contains 2 replies, has 2 voices, and was last updated by  Andreas Lorensen 11 months, 2 weeks ago.

  • Author
    Posts
  • #55093

    Andreas Lorensen
    Participant

    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
    Keymaster

    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
    Participant

    That makes sense. Thanks.

You must be logged in to reply to this topic.