I am trying to retrieve a set of users available in Active Directory using LDAP with PowerShell, but I am only getting the response shown below:
[adsi]'LDAP://DomainController.com/DC=DomainName,DC=com'
And it successfully executes with just the two statements below:
distinguishedName : {DC=DomainName,DC=com}
Path : LDAP://DomainController.com/DC=DomainName,DC=com?
What should I do now?