• Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Complete batch Script

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2013] >> Migration >> Complete batch Script Page: [1]
Message << Older Topic   Newer Topic >>
Complete batch Script - 16.Apr.2015 8:48:43 PM   


Posts: 4
Joined: 25.Mar.2009
Status: offline
Hey Guys,
I have a requirement where the customer would like the users migrated out of hours. I'm not keen at getting up in the middle of the night to kick it off so have decided to run the migration batch during the day with a manual completion.
In my testing the migration has worked fine however i would like to schedule the completion of the batch. Im gathering i can do this through task manager and power shell however having issues getting this working during testing.
I have made a ps file containing (which works fine when run from exchange shell.
Complete-MigrationBatch -Identity "Test Migrations" -confirm:$false
I have then called this through a scheduled task using the following
Program/Script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
arguments: -command . c:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1′; Connect-ExchangeServer -auto; C:\source\batchcompleteion.ps1"

The task kicks off but does not start the batch migration completion. Any ideas would be appreciated.
Post #: 1

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2013] >> Migration >> Complete batch Script Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts

Follow TechGenix on Twitter