Adding a User to Multiple Exchange Distribution Lists Using Windows PowerShell

PowerShell command line window

Adding a user to multiple distribution lists via Outlook can be a tedious process if many lists are involved. For today’s problem, I had to add a user to many lists that have a similar prefix. Instead of spending a an hour or more of adding the user to the DLs through the Global Address … Read more

Renaming Files Containing a Particular Pattern Using PowerShell

PowerShell 5.0 icon

I had mistakenly allowed a string to be appended multiple times on the names of files in a folder on my Windows server by a Python script on which I was working. It was a date string that was applied several times: “_2015-11-04_2015-11-04_2015-11-04_2015-11-04_2015-11-04” I wanted to remove this string from multiple files that were named … Read more

Using PowerShell to Check if a Particular User is in the Local Administrators Group

PowerShell 5.0 icon

PowerShell is a very powerful tool for Windows administrators and developers alike. I wanted to find out if a particular user ID was in the local admin group on all servers in my domain. Fortunately, someone had written a script (source link no longer exists) to check that very thing on the server you’re logged … Read more