A study in Powershell scripting – A beginners guide Part 2
In this post I elaborate the steps that I went through to build the function to extract users into alphabetical order. I talk about the problems I face and how I resolved them.
I also post snippets of my code that I used so that new people can see how I wrote it.
I’m hoping that this help the new people that are out there.
Biggest tip in the post is what the secret sauce is on how to pass results from one cmdlet to another. As always always pleased to know people’s thoughts.
Link here.
Related Articles
Why I Still Need the PowerShell ISE in a PowerShell 7 World
I’m a production SQL Server DBA. Where I work I hold rights on production that most people don’t, so when …
Read moreA Microsoft 365 Incident Should Not Start With Twelve Disconnected Scripts
A compromised Microsoft 365 account rarely stays inside one administrative surface. Sign-ins live in Microsoft Entra ID. …
Read moreFind What Wakes a Windows PC With Get-WinEvent
A PC that turns itself on at night leaves a record in the System log every time it does. Windows writes one event when the PC …
Read more