Quantcast
Viewing all articles
Browse latest Browse all 8719

Cannot bulk enable mailboxes via OU in PS

Hello,

i'm having an issue bulk enabling mailbox users,

i'm using either:

get-user -OrganizationalUnit "domain.local/ou1" | Enable-Mailbox

or

get-User -RecipientTypeDetails User -OrganizationalUnit "domain/OU" | Enable-Mailbox

now both fail with the same error:

No se pudo encontrar la unidad organizativa "domain.local/ou1". Asegúrese de haber escrito el nombre
correctamente.
    + CategoryInfo          : NotSpecified: (:) [], ManagementObjectNotFoundException+ FullyQualifiedErrorId : [Server=EXCHANGE,RequestId=1a867ef3-bf80-4bca-8ffe-2aea7ef19444,TimeStamp=02/07/2014 06:
   19:54 p.m.] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 16B0D575+ PSComputerName        : exchange.domain.local

(sorry about the spanish, it says cannot find the OU).

i tried with a different OU, same error, and i doublechecked the name in ADUC.

in fact if i run: Get-User -RecipientTypeDetails User

i see ALL the users that i have inside my OUs(not separated by OU).

And a Get-OrganizationalUnit will show all the OUs(including system name).

¿what's going on?

This is a fresh Exchange 2013 CU5 install on a fresh installed 2012R2 with ALL updates to the day(prior to installing xchange) on a 2008R2 domain controller


Viewing all articles
Browse latest Browse all 8719

Trending Articles