Matt Laird

Explore articles and content from this author

Matt Laird

4 articles published

1 min read

Store Secured Password in PowerShell Script

Automation is awesome, but what if you need to run a script with elevated privileges? If you are following security best practices then the account you login with most likely doesn’t have the required elevated privileges. Storing your password in plain text in your scripts is no good either. So what do we do? There are several options and each has there place, but I’ll show you my favorite below. Check out the full article by clicking on the link below.

1 min read

Find Stale Accounts in Active Directory

Find Stale Accounts in Active Directory Everyone who has managed Active Directory knows that keeping it free of “stale” accounts is a tough task. Typically no one cares about this until it’s time for the Microsoft True Up. Then we’ve got to hustle to get rid of all these unused accounts before we have to pay for them again! Pre-PowerShell it was tough because well… you didn’t have POWERSHELL! Now the hardest part about finding these accounts is defining what stale means to your company.

1 min read

Find Location of Locked Out Accounts

I’m Locked Out, Help! If you’ve been a sys admin for more than a week you’ve probably heard this…“I’m locked-out, help!”. Normally the user has made their way to your cube and is impatiently tapping their foot waiting for you to magically solve there problem. So you find their account, reset their password and everything is right with the world…Or is it? Two minutes later they show up again because their account was locked-out before they even got back to their desk.

2 min read

Basic Exchange Monitoring

Hello Powershell.org! This is the first time I’ve posted for anyone outside of my own powershell blog site PowerShellMasters.com and I just want to thank PowerShell.org for everything they do for our community. I think most of you would agree that this site is one of the best PowerShell sites out there today and I am grateful for the opportunity to reach so many PowerShell people. OK enough with the touchy-feely stuff.