Posts

Showing posts from July, 2022

PowerCLI Amateur declaration

This blog aims to be a helping hand for folks who aren't programmers. Personally, I'm not a coder or developer - I work in IT.  IT professionals in big companies often need to automate some tasks but might not know how. There's a lot of information on the internet, but much of it is geared towards those who already know programming. Many scripts use programming techniques that non-programmers don't get. On my journey with PowerShell/PowerCLI, I've learned that even complex scripts can spark ideas, and you can use them in a simpler way. I want to show you how to do this easily and without over-complicating things. But I also don't want to make things too simple. Folks often use too many pipes in their scripts. I get why - a pipe lets you put a whole script on one line, which seems easy, and you can copy/paste it into the PowerShell command line.  This works well for short and simple tasks, but not for longer and more complicated ones. That's when the simple t...