Archive for December, 2016

PowerShell: Sending password expiration notices via GMail – Part 3

December 20th, 2016 by and tagged , , , , , ,

In Part 1 of this series, I showed you how to identify users whose password was about to expire. Then in Part 2 of the series, I took that list of users and sent email to them using gmail-hosted company email. This third part of the series pulls all that together into a single script, […]

Posted in Active Directory, Network Administration, PowerShell, PSCredential, Security | Comments Off on PowerShell: Sending password expiration notices via GMail – Part 3

PowerShell: Sending password expiration notices via GMail – Part 2

December 20th, 2016 by and tagged , ,

In the first part of this trio of posts, I showed a way to identify users whose password was about to expire. Which is useful, but now you need to notify them. If your company email is in GMail, there’s a few gotchas you’ll need to watch out for, but I’ll show you how to […]

Posted in Active Directory, Network Administration, PowerShell | Comments Off on PowerShell: Sending password expiration notices via GMail – Part 2

PowerShell: Sending password expiration notices via GMail – Part 1

December 13th, 2016 by and tagged , , , ,

In a perfect world, users would never forget their password, and never forget to change it before the expiration date. But we don’t live in that perfect world. I covered how to unlock AD accounts earlier in this post, but now I’d like to talk about how to first find the users whose accounts are […]

Posted in Active Directory, Network Administration, PowerShell | Comments Off on PowerShell: Sending password expiration notices via GMail – Part 1

Getting Large Files

December 2nd, 2016 by and tagged , , , , ,

Sooner or later, you’re likely to have to “clean up” a disk that’s running out of space. One of the simplest ways to do that is to find the really large files on the disk or in a directory and delete ones that you don’t actually need, or move them to a location that has […]

Posted in Network Administration, PowerShell | Comments Off on Getting Large Files