Author Posts

October 7, 2016 at 7:33 pm

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

October 7, 2016 at 7:40 pm

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.

October 7, 2016 at 8:30 pm

That makes sense. Thanks.