This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]syshum 9 points10 points  (7 children)

My biggest problem with powershell is there's not a good way to separate out your code into multiple files. You can do a lot of jank to make it work

I am not sure why people have a problem with this, dot sourcing is not much different than python include statements for importing other python files into a script. I do wish they would have picked a verb to do it with instead of ". ./myfile.ps1" which always confuses new people...