Exchange managemenbt shell script - move-mailbox

Posted on 2007-11-18
Last Modified: 2008-02-01
I'm in the process of migrating users from E2k to E2k7.
I need to use a script to automate (as only one instance of EMC can run at a time)

I am having problems running this PS1 file as directed ni this article - tried to invoke it both from Windoes Explorer file, and from EMS itself (in the correct directory) with the follwing error returned:

"The term 'moveusers.ps1' is not recognized as a cmdlet, function, operable program, or script
At line:1 char:13"

Can anyone help me get this script working?

Cheers, P.

Question by:prospatho
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 29

Accepted Solution

mass2612 earned 250 total points
ID: 20310244

Sounds like your execution policy is set to the default.

Set-ExecutionPolicy Unrestricted - will allow all scripts to run

Author Comment

ID: 20310523
Hi Mass~
.\  did the job!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

705 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