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
Find 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 moreFind Free Azure CIDR Blocks with PowerShell
Suppose the network team assigns 10.172.0.0/16 to an Azure landing zone. You need to divide it into correctly aligned virtual …
Read moreHow to Toggle Logon Restrictions for AD Accounts
Written by Tino JR This script will allow an administrator to enable or disable logon restrictions for an Active Directory …
Read more