r/PowerShell • u/Defiant_Wafer5282 • Apr 04 '26
Powershell Noob
Hey all
Iām a slight newbie and landed a JR infrastructure engineer role that includes looking after cloud environments, patching software and machines.
Is there any advice where I could get into learning more powershell scripting or and decent YouTube courses I could follow
Any help is appreciated
20
Upvotes
View all comments
Show parent comment
1
u/TofuBug40 Apr 06 '26
Also undocumented is NOT the same thing as uncommented.
Documentation is ALWAYS part of our process and we maintain tightly regimented documentation.
But guess where that documentation comes from? It damn sure isn't the comments.
It ALWAYS comes from CODE not a SINGLE comment (short of the powershell comment based help i meantioned earlier) contributes to generating and publishing said documentation.
Also, also, my engineers understand single responsibility none of them ever put things into production that are thousands of lines of code with a lack of intent. because again they understand how to keep their code focused and clear. In the last 20 years i can count on ONE hand code that went up longer than 200-300 lines in one file. One of them being an implementation of
System.Management.Automation.Language.ICustomAstVisitor, and System.Management.Automation.Language.ICustomAstVisitor2 for a script AST visitor and that was just because it all had to stay together but each method call is still clearly defined and can be discerned just by looking at it.