<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: howto://document Active Directory-group memberships</title> <atom:link href="http://retrohack.com/how-to-document-active-directory-group-memberships/feed/" rel="self" type="application/rss+xml" /><link>http://retrohack.com/how-to-document-active-directory-group-memberships/</link> <description>lest the tubes become overfull</description> <lastBuildDate>Tue, 15 May 2012 22:46:35 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>By: Ed Fisher</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-3010</link> <dc:creator>Ed Fisher</dc:creator> <pubDate>Mon, 07 May 2012 19:49:25 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-3010</guid> <description>Try &lt;code&gt;for /f &quot;tokens=* delims=,&quot; %G IN (list.txt) do&lt;/code&gt; and see where that takes you.
Good luck,
Ed</description> <content:encoded><![CDATA[<p>Try <code>for /f "tokens=* delims=," %G IN (list.txt) do</code> and see where that takes you.<br
/> Good luck,<br
/> Ed</p> ]]></content:encoded> </item> <item><title>By: Lyn</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-3005</link> <dc:creator>Lyn</dc:creator> <pubDate>Wed, 02 May 2012 01:16:39 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-3005</guid> <description>Hi Ed,Using your help on the pages so far; from a command prompt, I can list an individual group name and get group members via C:\&gt;dsquery group -name &quot;_AA_xxx_PRD_11&quot; &#124;dsget group -members.  I have created a txt file on C:\groups.txt listing all the groups but need to run from a command from the command prompt that gets me a list all the groups in my groups.txt file and listtheir group members. I would appreciate you having a look for me and advising.  Thanks, Lyn</description> <content:encoded><![CDATA[<p>Hi Ed,</p><p>Using your help on the pages so far; from a command prompt, I can list an individual group name and get group members via C:\&gt;dsquery group -name &#8220;_AA_xxx_PRD_11&#8243; |dsget group -members.  I have created a txt file on C:\groups.txt listing all the groups but need to run from a command from the command prompt that gets me a list all the groups in my groups.txt file and listtheir group members. I would appreciate you having a look for me and advising.  Thanks, Lyn</p> ]]></content:encoded> </item> <item><title>By: Steve Lansing</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2883</link> <dc:creator>Steve Lansing</dc:creator> <pubDate>Fri, 24 Feb 2012 16:12:28 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2883</guid> <description>Did you ever find out where that mysterious number 1 was coming from in the output?  I am having the same issue and have not resolved it yet.</description> <content:encoded><![CDATA[<p>Did you ever find out where that mysterious number 1 was coming from in the output?  I am having the same issue and have not resolved it yet.</p> ]]></content:encoded> </item> <item><title>By: Steve Lansing</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2882</link> <dc:creator>Steve Lansing</dc:creator> <pubDate>Fri, 24 Feb 2012 15:44:17 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2882</guid> <description>No, it happens when I run the command in batch mode.  See a couple of posts above, where Michelle included the output...right before the &gt;&gt; filename.txt there is a 1 being inserted when the for loop starts running.I&#039;ve tried it on my machine Win764sp1 and also on a Server 2003 machine, same result, which makes me think it&#039;s a function of the AD, which is 2008.</description> <content:encoded><![CDATA[<p>No, it happens when I run the command in batch mode.  See a couple of posts above, where Michelle included the output&#8230;right before the &gt;&gt; filename.txt there is a 1 being inserted when the for loop starts running.</p><p>I&#8217;ve tried it on my machine Win764sp1 and also on a Server 2003 machine, same result, which makes me think it&#8217;s a function of the AD, which is 2008.</p> ]]></content:encoded> </item> <item><title>By: Ed Fisher</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2880</link> <dc:creator>Ed Fisher</dc:creator> <pubDate>Fri, 24 Feb 2012 15:09:05 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2880</guid> <description>1) Is your keyboard mapped to a different character set or is your o/s not installed in EN-US? Your name seems American, and your ip does too, but it&#039;s worth asking.
2) I updated my post when a font change in the them turned ASCII quotes into &quot;curly quotes&quot; but many of the comments still have them. Try typing things out longhand, to see if it makes any difference.
HTH
Ed</description> <content:encoded><![CDATA[<p>1) Is your keyboard mapped to a different character set or is your o/s not installed in EN-US? Your name seems American, and your ip does too, but it&#8217;s worth asking.<br
/> 2) I updated my post when a font change in the them turned ASCII quotes into &#8220;curly quotes&#8221; but many of the comments still have them. Try typing things out longhand, to see if it makes any difference.<br
/> HTH<br
/> Ed</p> ]]></content:encoded> </item> <item><title>By: Steve Lansing</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2877</link> <dc:creator>Steve Lansing</dc:creator> <pubDate>Thu, 23 Feb 2012 21:53:13 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2877</guid> <description>I had the same issue noted above...the command adds a numeral &quot;1&quot; before the &gt;&gt; when you run it.  Also running Win764SP1.  I&#039;ll try it on a different machine, see if I can get some joy, but I&#039;m curious.  Any ideas?</description> <content:encoded><![CDATA[<p>I had the same issue noted above&#8230;the command adds a numeral &#8220;1&#8243; before the &gt;&gt; when you run it.  Also running Win764SP1.  I&#8217;ll try it on a different machine, see if I can get some joy, but I&#8217;m curious.  Any ideas?</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2819</link> <dc:creator>Mike</dc:creator> <pubDate>Wed, 01 Feb 2012 19:04:48 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2819</guid> <description>Adding the %%I after dsget group worked for me in a batch file. I&#039;m running windows 7 64 bit.</description> <content:encoded><![CDATA[<p>Adding the %%I after dsget group worked for me in a batch file. I&#8217;m running windows 7 64 bit.</p> ]]></content:encoded> </item> <item><title>By: Ed Fisher</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2746</link> <dc:creator>Ed Fisher</dc:creator> <pubDate>Wed, 11 Jan 2012 19:13:16 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2746</guid> <description>Excellent, glad it helped you out and thanks for letting me know!</description> <content:encoded><![CDATA[<p>Excellent, glad it helped you out and thanks for letting me know!</p> ]]></content:encoded> </item> <item><title>By: Will</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2745</link> <dc:creator>Will</dc:creator> <pubDate>Wed, 11 Jan 2012 18:57:59 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2745</guid> <description>Hey Ed, thanks for this article, it worked perfectly.</description> <content:encoded><![CDATA[<p>Hey Ed, thanks for this article, it worked perfectly.</p> ]]></content:encoded> </item> <item><title>By: Michele</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2414</link> <dc:creator>Michele</dc:creator> <pubDate>Fri, 04 Nov 2011 16:28:22 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2414</guid> <description>Hi, thank you for your response.
That not works for me :(</description> <content:encoded><![CDATA[<p>Hi, thank you for your response.<br
/> That not works for me <img
src='http://retrohack.com/_retroh_wp_root/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Ed Fisher</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2413</link> <dc:creator>Ed Fisher</dc:creator> <pubDate>Fri, 04 Nov 2011 16:22:20 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2413</guid> <description>Hi Michele,
Sorry about that; it might be an issue with the version of dsget you have installed, since the original commands worked well for me, but in trying to reproduce your error with a newer PC, I get the same results as you.
I have updated the post above to include the group name after dsget, like this.
&lt;code&gt;dsget group %%I&lt;/code&gt;
Try adding the %%I after the dsget group and see if that helps.
Strange,
Ed</description> <content:encoded><![CDATA[<p>Hi Michele,<br
/> Sorry about that; it might be an issue with the version of dsget you have installed, since the original commands worked well for me, but in trying to reproduce your error with a newer PC, I get the same results as you.<br
/> I have updated the post above to include the group name after dsget, like this.<br
/> <code>dsget group %%I</code><br
/> Try adding the %%I after the dsget group and see if that helps.<br
/> Strange,<br
/> Ed</p> ]]></content:encoded> </item> <item><title>By: Michele</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-2412</link> <dc:creator>Michele</dc:creator> <pubDate>Fri, 04 Nov 2011 15:58:47 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-2412</guid> <description>I&#039;m getting the same error as &lt;strong&gt;JA&lt;/strong&gt;:
dsget failed:’Target object for this command’ is missing.My group.txt file is like this:
&lt;code&gt;
&quot;CN=FBL-DIREZIONE,OU=GROUP,OU=FBL,DC=ABG,DC=INT&quot;
&quot;CN=FBL-GRP_ACQ_FBL-FBV-MYV_WRITE,OU=GROUP,OU=FBL,DC=ABG,DC=INT&quot;
&lt;/code&gt;My output (from dos prompt) begin like this and follows until the end of the group.txt file:
&lt;code&gt;
C:\&gt;echo &quot;CN=FBL-DIREZIONE,OU=GROUP,OU=FBL,DC=ABG,DC=INT&quot;   1&gt;&gt;out.txt  &amp;&amp; dsque
ry group -name &quot;CN=FBL-DIREZIONE,OU=GROUP,OU=FBL,DC=ABG,DC=INT&quot;   &#124; dsget group
-members -expand  1&gt;&gt;outt.txt
dsget failed:`Target object for this command&#039; is missing.
type dsget /? for help.
C:\&gt;echo &quot;CN=FBL-GRP_ACQ_FBL-FBV-MYV_WRITE,OU=GROUP,OU=FBL,DC=ABG,DC=INT&quot;   1&gt;&gt;o
ut.txt  &amp;&amp; dsquery group -name &quot;CN=FBL-GRP_ACQ_FBL-FBV-MYV_WRITE,OU=GROUP,OU=FBL
,DC=ABG,DC=INT&quot;   &#124; dsget group -members -expand  1&gt;&gt;outt.txt
dsget failed:`Target object for this command&#039; is missing.
type dsget /? for help.
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>I&#8217;m getting the same error as <strong>JA</strong>:<br
/> dsget failed:’Target object for this command’ is missing.</p><p>My group.txt file is like this:<br
/> <code><br
/> "CN=FBL-DIREZIONE,OU=GROUP,OU=FBL,DC=ABG,DC=INT"<br
/> "CN=FBL-GRP_ACQ_FBL-FBV-MYV_WRITE,OU=GROUP,OU=FBL,DC=ABG,DC=INT"<br
/> </code></p><p>My output (from dos prompt) begin like this and follows until the end of the group.txt file:<br
/> <code><br
/> C:\&gt;echo "CN=FBL-DIREZIONE,OU=GROUP,OU=FBL,DC=ABG,DC=INT"   1&gt;&gt;out.txt  &amp;&amp; dsque<br
/> ry group -name "CN=FBL-DIREZIONE,OU=GROUP,OU=FBL,DC=ABG,DC=INT"   | dsget group<br
/> -members -expand  1&gt;&gt;outt.txt<br
/> dsget failed:`Target object for this command' is missing.<br
/> type dsget /? for help.<br
/> C:\&gt;echo "CN=FBL-GRP_ACQ_FBL-FBV-MYV_WRITE,OU=GROUP,OU=FBL,DC=ABG,DC=INT"   1&gt;&gt;o<br
/> ut.txt  &amp;&amp; dsquery group -name "CN=FBL-GRP_ACQ_FBL-FBV-MYV_WRITE,OU=GROUP,OU=FBL<br
/> ,DC=ABG,DC=INT"   | dsget group -members -expand  1&gt;&gt;outt.txt<br
/> dsget failed:`Target object for this command' is missing.<br
/> type dsget /? for help.<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Ed Fisher</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-1999</link> <dc:creator>Ed Fisher</dc:creator> <pubDate>Mon, 22 Aug 2011 20:38:46 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-1999</guid> <description>I don&#039;t think so, or at least, I couldn&#039;t figure out how, that&#039;s why I went to the CLI.
Ed</description> <content:encoded><![CDATA[<p>I don&#8217;t think so, or at least, I couldn&#8217;t figure out how, that&#8217;s why I went to the CLI.<br
/> Ed</p> ]]></content:encoded> </item> <item><title>By: Ed Fisher</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-1998</link> <dc:creator>Ed Fisher</dc:creator> <pubDate>Mon, 22 Aug 2011 20:37:51 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-1998</guid> <description>You&#039;re welcome, glad it helped.
Ed</description> <content:encoded><![CDATA[<p>You&#8217;re welcome, glad it helped.<br
/> Ed</p> ]]></content:encoded> </item> <item><title>By: David</title><link>http://retrohack.com/how-to-document-active-directory-group-memberships/comment-page-1/#comment-1996</link> <dc:creator>David</dc:creator> <pubDate>Sat, 20 Aug 2011 05:58:08 +0000</pubDate> <guid
isPermaLink="false">http://retrohack.com/howtodocument-active-directory-group-memberships/#comment-1996</guid> <description>Using saved queries in ADUC, can you make the export recursive?  I am currently using memberOf=&quot;groupDN&quot;, but there are about 15 groups that are members of that group, how can I export their members to the same list?</description> <content:encoded><![CDATA[<p>Using saved queries in ADUC, can you make the export recursive?  I am currently using memberOf=&#8221;groupDN&#8221;, but there are about 15 groups that are members of that group, how can I export their members to the same list?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: retrohack.com @ 2012-05-18 11:44:56 by W3 Total Cache -->
