This is move from Exchange2010 to 2013
Sorry for bumping an old tread, but this is exactly what I need - and can't get to work:
This Works OK:
[PS] C:\>Get-OrganizationalUnit "OU=OUName,OU=Brugere,DC=dom,DC=com"
RunspaceId : b0b71998-75ab-4b31-a4c5-5a46fae61e13
Type : OrganizationalUnit
CanonicalName : dom.com/Brugere/OUName
IsWellKnownContainer : False
DirSyncStatusAck : {}
AdminDisplayName :
ExchangeVersion : 0.0 (6.5.6500.0)
This does not..
[PS] C:\>Get-OrganizationalUnit "OU=OUName,OU=Brugere,DC=dom,DC=com" | New-MoveRequest -TargetDatabase A01 -WhatIf
The operation couldn't be performed because object 'dom.com/Brugere/OUName' couldn't be found on 'DC1.com.com'.
+ CategoryInfo : NotSpecified: (:) [New-MoveRequest], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : 5E43828D,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest
+ PSComputerName : exchsrv.dom.com