Learn how to a build a cloud-first strategyRegister Now


add AD Powershell Tools to Exchange Management Shell

Posted on 2012-08-14
Medium Priority
Last Modified: 2012-08-14
I am using Exchange Mangement Shell using a script to import users from a CSV...

and Get-ADUser is not supported in Exchange Management Shell.. is there a way to add the cmdlet?

The opposite is true if I try to run New-Mailbox in Powershell...

This is taking place on an Exchange 2010 server with HUB services installed.. it was this way before I got here a month ago. The Script had been manually ran at 0900 ant 1300 to import users (students) from a csv provided by the registrar's office. I am trying to automate the task to run in task scheduler.. when I come in at 0900, the task shows as still running.

[PS] C:\Windows\system32>Get-ADUser
The term 'Get-ADUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:11
+ Get-ADUser <<<<
    + CategoryInfo          : ObjectNotFound: (Get-ADUser:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

[PS] C:\Windows\system32>
Question by:AllIntUni2000
LVL 23

Accepted Solution

Stelian Stan earned 2000 total points
ID: 38294351

Import-Module activedirectory

Expert Comment

ID: 38294362
import-module activedirectory

Author Closing Comment

ID: 38294368
Thank you!!!!

Featured Post

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Screencast - Getting to Know the Pipeline
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question