Link to home
Start Free TrialLog in
Avatar of lardo
lardo

asked on

searching for exchangeguid in powershell

I am trying to search for a mailbox by using the GUID that is provided to me in an error from MOM.
I am getting an error in powershell but I do not know why.  Here is the following:

[PS] R:\>get-mailbox -resultsize unlimited -domaincontroller somedomain.com |where-object {$_.exchangeguid -eq 027293e0-2600-40d2-96b5-d8b0a7ce63dd}
Unexpected token '2' in expression or statement.
At line:1 char:130
+ get-mailbox -resultsize unlimited -domaincontroller stl-dcna-04.na.erac.com
where-object {$_.exchangeguid -eq 027293e0-2600-40d2- <<<< 96b5-d8b0a7ce63dd}

Can anyone tell me what I am doing wrong?
ASKER CERTIFIED SOLUTION
Avatar of BSonPosh
BSonPosh
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial