HI
I am working on a script to get the user information, specifically I need "Domain\username" back because my app needs domain\username
Get-ADGroupMember -identity “Group_Name” | select name | Export-csv -path C:names.csv -NoTypeInformation
But I want to get the "ntuserdomainid" which is :Domain:username" because my app needs domain\username and I can use excel to change the : to a \
The problem is when I ask for ntuserdomainid the script returns "Microsoft.ActiveDirectory.Management.ADPropertyValueCollection"
How do I query the "VBScript" type fields?