Tag Archive: PowerShell

Powershell script to add users into AD Group for local and Office 365 setups.

Create users in a CSV File with UserName as first heading.

Import-module ActiveDirectory 
Import-CSV "C:\Users.csv" | % {Add-ADGroupMember -Identity NameOfGroup -Member $_.UserName} 

Adjust the red items to be where your file is

I needed a way of listing access rights for users on shared mailboxes.

Google helped me out along with a little playing.

So I now have two PowerShell lines. One that lists users with full access to a mailbox, the other shows all users with the send as role.

View full article »

I needed a way to get an output of all email addresses for all users on exchange 2007

Google helped me with this

View full article »