Aussie owned and operated, with 23+ years of industry experience, Gold Coast InfoTech is delighted to support all of your business technology requirements.

Gallery

Contacts

success@goldcoastinfotech.com.au

1800 291 071

KBArticles Scripts, Commands, Registry Uncategorized

Script Error: 0x80005000, Code: 80005000, Source: (null)

Thjis was a script that was accessing AD to export a list of users
Some user had the “/” character in the name – the following addition fixed the script to run correctly

For Each strMemberDN in objGroup.Member
strMemberDN = Replace(strMemberDN, “/”, “/”)
Set objMember = GetObject(“LDAP://” & strMemberDN)
Wscript.Echo objMember.cn
Next

Author

Customer

Leave a comment

Your email address will not be published. Required fields are marked *