Domino : How to query a domino server in powershell

This script will create a connection to your domino server using LDAP.
Edit the LDAP connector to to reflect your domino server name, domain name, username and password
Use the query filter to refine your search


$root = New-Object -TypeName System.DirectoryServices.DirectoryEntry("LDAP://Domino2/o=YourDomain", "PSPower", "PSP123")

$query = New-Object System.DirectoryServices.DirectorySearcher($root)

$query.Filter = "(cn=*)"

$result = $query.FindAll()


Comments

User : rick

yes

User : Trevor

Powershell is boring

Search