We help IT Professionals succeed at work.
Get Started

add AD Powershell Tools to Exchange Management Shell

AllIntUni2000
on
1,099 Views
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>
Comment
Watch Question
IT Services Manager
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE