Adding Users to O365 Distribution List

By admin

A script I recently used to add members to an office 365 distribution group using a remote exchange session in a hybrid setup (covered at the end). 

CSV file contains UPNs of all users to be added. I also found it useful to see who had permissions to send to this group using

Set O365 Password to never expire for just one user

By admin

Recently I needed to do this for our PRTG alerting account which was failing to send notifications as the O365 password had expired.  I did this from Powershell within Windows 10 as follows: Launch powershell as Administrator then run

Then run

at this point an O365 authentication box pops up – enter your…

Add AD security group to local administrators on Hyper-V server running core

By admin

First connect to the remote server with powershell

Next run the command to add the group:

If you’re paranoid (like me) and want to check this worked you can use: