This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Demonstrates listing an Active Directory group membership with PowerShell Core | |
| using namespace Novell.Directory.LDAP.VQ | |
| #region environment-specific config | |
| $DCname = 'DomainControllerName' | |
| # Don't store user credentials in your powerShell scripts!! | |
| # This is just here to demonstrate POC. | |
| $ldapUser = 'CN=powershell-ldap,CN=Users,DC=Corporate,DC=Contoso,DC=com' |