Accessing the group description trough powershell RRS feed

  • Question

  • Hi everyone

    I'm pretty new to powershell scripting and was wandering if there is a way to access the group description of a security group in active directory.

    What I tried for now is the following

    $Test = Get-ADGroup "CN=VPN-Group,OU=Remote,DC=ad,DC=corp,DC=com"

    write-host $Test.description

    The write-host returns nothing but if I remove the .descriptions I see the DN of the group. 

    Any suggest would be happly welcome

    Tuesday, January 14, 2014 3:39 PM


All replies