Hi Team.
I am trying to get the DN value from a user account to then pass it along as variable for something. When i grab the variable and write it out its including @DN= when i just need the CN value
Any ideas?
@{DN=CN=blah-blah-blah}
$DN = get-qaduser ABC | select dn write-host $DN