![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Accessing Exchange 5.5 hidden recipients with PowerShell ADSI Per Microsoft KB article 196850, you must use a specific Bind DN to connect to an Exchange 5.5 server and view hidden recipients and deleted objects via ADSI/LDAP. I've attempted to follow this guidance in PowerShell, but have had very little luck. Any suggestion as to how this would be implemented in the DirectoryServices.DirectorySearcher class? Thanks, Dan Roberts |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Accessing Exchange 5.5 hidden recipients with PowerShell ADSI Dan Roberts @ Kent State wrote: Quote: > Thanks for your response Marco. > > Made sense.. basically you're proposing that the special Bind DN only works > when querying a specific object, and therefore won't work when running a > search. I buy that. Unfortunately though it didn't work. > > Maybe I'm just not getting the syntax correct. > > I have $mailbox = new-object > DirectoryServices.DirectoryEntry("LDAP://mailserver/cn=mailboxname,cn=Recipients,ou=orgunit,o=org,cn=admin", "domain\myusername", "mypassword") > > If I take the ",cn=admin" off the end, it works fine for visible mailboxes.. > but as soon as I put it back, it won't even see those. > > My account has Service Account Admin permissions at the root and ou level.. > so this should work. Back to the drawing board, I guess. http://support.microsoft.com/kb/185475/ |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| IIS6 via ADSI with PowerShell | PowerShell | |||
| Problem Viewing & Accessing Hidden Folders | Vista file management | |||
| Can I Modify ADSI with Powershell??? | PowerShell | |||
| Accessing Laptop Hidden Partition | Vista General | |||
| Accessing hidden folders | Vista General | |||