Bulk Creating Users For Your Test Network
KB ID 0000784 Problem Update Jan 2023: Feel free to use this Bulk-Create-AD-Users-Script (Just remeber to change the domain details in the “Global Variables’ Sections to give you 10o0 users, with sensible names addreeses etc. Having a test network, is great for both learning, and testing. I’ve got some major migrations coming up in the next few months, so I’m in the process of running up some new test servers. I...
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: Importing Mail From PST Files (including Bulk Importing)
KB ID 0000443 Problem If you have mail in .PST file format that you would like to import, either exported via ExMerge from an older Exchange server, or Exported via Outlook, or even exported via PowerShell, then the process for importing that mail into Exchange has been the same since Exchange 2010 (SP1). Before SP1 you would have to install a copy of Outlook on the Exchange server and use a PowerShell command that looks like this...
Bulk Importing Users with CSVDE
KB ID 0000498 Problem This is not a task I’ve had to do for ages, so when I had to do it this week, I thought I’d just do a quick Google search as a refresher. What I can remember was a simple task took me far too long to work out. So heres a quick solution for everybody else. Solution Before I begin, the spreadsheet below, was the hard work of John Haddock, I have only made some minor tweaks and adjustments. 1. You will...
Bulk Export Users From One Domain, and Import Into Another
KB ID 0000794 Problem I’ve written in the past about bulk importing users with CSVDE, but what if you want to move/migrate your users to another domain? You first need to export all the users, then import them into the new domain. Solution Step 1 Export Domain Users to CSV File 1. Here all my users are in one OU, if that OU has ‘nested OU’s within it that’s OK. 2. The command to ‘export’ is as...