{"id":968,"date":"2012-06-05T15:07:50","date_gmt":"2012-06-05T20:07:50","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=968"},"modified":"2012-06-05T15:07:50","modified_gmt":"2012-06-05T20:07:50","slug":"list-ad-user-information-csv","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2012\/06\/list-ad-user-information-csv\/","title":{"rendered":"List AD User Information CSV"},"content":{"rendered":"<p>I needed to list all users and their creation dates to verify that they were in the correct groups.<\/p>\n<p>Script <a href=\"http:\/\/it.thelibrarie.com\/utilities\/ADUsers_list.vbs\">here<\/a><\/p>\n<p>You need to edit the two spots:<br \/>\nobjConnection.Open &#8220;DOMAINCONTROLLER&#8221;<br \/>\n    &#8220;SELECT Name, profilePath, homeDrive, distinguishedName,userAccountControl FROM &#8216;LDAP:\/\/dc=DOMAIN,dc=LOCAL&#8217; WHERE objectCategory=&#8217;user'&#8221;  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I needed to list all users and their creation dates to verify that they were in the correct groups. Script here You need to edit the two spots: objConnection.Open &#8220;DOMAINCONTROLLER&#8221; &#8220;SELECT Name, profilePath, homeDrive, distinguishedName,userAccountControl FROM &#8216;LDAP:\/\/dc=DOMAIN,dc=LOCAL&#8217; WHERE objectCategory=&#8217;user&#8217;&#8221;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-968","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=968"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/968\/revisions"}],"predecessor-version":[{"id":969,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/968\/revisions\/969"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}