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
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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In-place Upgrading Dirsync to Azure AD Connect
To show how to generate a certificate request 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 Servers >> Certificates…
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…

735 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