PowerShell

Migrating hundreds of PSTs to Exchange 356 via Import and PowerShell

I’m currently in the process of of extracting every mailbox from exchange .edb and exporting them to individual PST’s per user. Started doing this by hand and it was taking forever. Here is the process I used to streamline it. Exporting PSTs We purchased a copy of Stellar Repair for Exchange then exported mailboxes as

Migrating hundreds of PSTs to Exchange 356 via Import and PowerShell Read More »

Graylog | Finding failed login attempts that lock out AD Users

I’ve been using the free trial of Netwrix to find failed logins and sadly it’s way out of our budget for K-12 so I’ve been searching for another solution and can help the team. We’ve been having an uptick in AD accounts getting locked due to numerous login failed attempts. 99% of the time it’s

Graylog | Finding failed login attempts that lock out AD Users Read More »

PowerShell – Generate password from word list and numbers for AD User

I’ve always used a random password generator for some sub accounts that change weekly via task scheduler. The issue with that is the lower case l and 1’s depending on the systems font look very similar resulting in tickets saying the password doesn’t work. I’ve patched together this script from a few online sources and

PowerShell – Generate password from word list and numbers for AD User Read More »

PowerShell | Find Users matching partial group name by employeeType

I needed a way to find out if any of our staff employeeType was part of incorrect distribution lists. Example: Classified staff shouldn’t be part of any distribution lists that contains “Licensed”. Here is the output: If you wanted to export this to a csv just add on “| Export-Csv C:\” to the end so

PowerShell | Find Users matching partial group name by employeeType Read More »

Powershell – Export users and select attributes from a single OU

Recently needed to find a way to export all staff into a csv file with only their name and EmployeeID. First I ran the GET-ADuser command below for a single user. This will display all the user’s attributes. Be sure to change username to a domain user. Now that you have a file with all

Powershell – Export users and select attributes from a single OU Read More »

Scroll to Top