PowerShell: Bulk Add/Remove Users From Groups
KB ID 0001475 Problem I had to do this a few weeks ago, so I documented it. I had a list of usernames in a CSV file and I needed to bulk-add them to a security group. Bulk Add Group Users Solution Firstly you will need the usernames (sAMAccountNames) in .csv format like so, (Note: As a header Im using User-Name.) I’ve saved the file to C:\Temp on my server. Execute the following commands; Import-Module ActiveDirectory ...
Exchange – “This operation can only be performed by a manager of the group” Error
KB ID 0000603 Problem Seen On Exchange 2010 (SP1), when trying to add a user to a distribution group. Add-DistributionGroupMember Failed Error: You don’t have sufficient permissions. This operation can only be performed by a manager of the group. Solution 1. There a few reasons for this error, I’m assuming that there is no user set as the manager for this group? (Properties > Group Information > Managed By). In my...
HP / 3COM – Setup the V1910-24G Switch
KB ID 0000495 Dtd 20/08/11 Problem I was surprised this week when I went to fit one of these switches, I know HP bought 3Com some time ago but when I popped open the HP box I did not expect to see a 3Com switch. Anyway, heres a very quick run down on initial setup (assign IP and secure the system passwords). Solution 1. On the chassis locate the sticker with the serial number on it, on here it will show you the IP address that its set...