This Powershell script finds accounts in Active Directory where the password is set to never expire. Also shows the last time the password was set or reset.
This PowerShell script cycles through a list of users (users.txt) and removes them from all mailboxes in Microsoft Exchange.
If you need to find an Active Directory user when all you have is the objectGUID, you can do so with PowerShell.
Grab files that were created in the last day and get the newest one.
This simple snippet reads a file named “readlines.txt” line by line, assigns the line to a string called “$line”, then prints it out on the screen.Continue reading “Bash: Read File Line By Line”