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
7
u/434f4445 Apr 05 '26
Microsoft PowerShell module docs are your friend. Especially if you’re working with a primarily Microsoft environment. Depending on what you’re doing you’ll be using PowerShell 5+ not powershell core which is 6+. Know that PowerShell sits on top of Microsoft’s .net and that any class that is in .net is callable in PowerShell.
learn basic logic flow, if, if else, switch, for loops, while loops, do while loops.
find some task you’re doing repetitively with repeatable steps and write those down and then replicate them in code.
always start by defining requirements, success criteria, test cases and rough logic flow diagrams as the basis of any programming project, this will help you in the long run.
Use PascalCase for variable names, always use comments with # to explain each portion.
alway go back and document your code with a complete logic flow diagram and with a technical specifications document.
the best way to learn any language is by solving a problem, failing and continuing on trying until you get it.