?
Solved

Exchange managemenbt shell script - move-mailbox

Posted on 2007-11-18
2
Medium Priority
?
857 Views
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)

http://blogs.msdn.com/adamfazio/archive/2007/10/27/hey-exchange-2007-move-the-mailboxes-email-me-the-log-when-you-re-done.aspx

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.

0
Comment
Question by:prospatho
[X]
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
2 Comments
 
LVL 29

Accepted Solution

by:
mass2612 earned 1000 total points
ID: 20310244
Hi,

Sounds like your execution policy is set to the default.

Get-ExecutionPolicy
Set-ExecutionPolicy Unrestricted - will allow all scripts to run

http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx
0
 

Author Comment

by:prospatho
ID: 20310523
Hi Mass~
Thanks,
.\  did the job!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
In this video we show how to create an Address List 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 Organization >> Ad…
In this video we show how to create an email address policy 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…
Suggested Courses

650 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