<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Supposing Everything; Knowing Nothing!</title>
	<atom:link href="http://supposing.hostbunch.com/feed" rel="self" type="application/rss+xml" />
	<link>http://supposing.hostbunch.com</link>
	<description>Random thoughts about useless things.</description>
	<lastBuildDate>Sat, 24 Mar 2012 08:15:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Quick command to list all users in an AD group</title>
		<link>http://supposing.hostbunch.com/quick-command-to-list-all-users-in-an-ad-group/</link>
		<comments>http://supposing.hostbunch.com/quick-command-to-list-all-users-in-an-ad-group/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 08:15:26 +0000</pubDate>
		<dc:creator>Tom Evans</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dsquery]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://supposing.hostbunch.com/?p=269</guid>
		<description><![CDATA[<p><p><a href="http://supposing.hostbunch.com">Supposing Everything; Knowing Nothing! - Random thoughts about useless things.</a></p><p>If you&#8217;ve got an active directory group with a lot of members, this command can be helpful.  It returns all users in the group you specify.  Easily piped into a text file for quick reporting. dsquery group -name "adGroup"&#124;dsget group -members&#124;dsget user -samid -email -display</p></p><p><a href="http://supposing.hostbunch.com/quick-command-to-list-all-users-in-an-ad-group/">Quick command to list all users in an AD group</a></p>]]></description>
		<wfw:commentRss>http://supposing.hostbunch.com/quick-command-to-list-all-users-in-an-ad-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FInd all computer accounts in a domain</title>
		<link>http://supposing.hostbunch.com/find-all-computer-accounts-in-a-domain/</link>
		<comments>http://supposing.hostbunch.com/find-all-computer-accounts-in-a-domain/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 17:12:35 +0000</pubDate>
		<dc:creator>Tom Evans</dc:creator>
				<category><![CDATA[dsquery]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://supposing.hostbunch.com/?p=266</guid>
		<description><![CDATA[<p><p><a href="http://supposing.hostbunch.com">Supposing Everything; Knowing Nothing! - Random thoughts about useless things.</a></p><p>Pretty simple and straight forward. Just another useful dsquery command. This one returns all computers in the domain. dsquery * domainroot -filter "&#38;(ObjectCategory=computer)" -attr distinguishedName -limit 0</p></p><p><a href="http://supposing.hostbunch.com/find-all-computer-accounts-in-a-domain/">FInd all computer accounts in a domain</a></p>]]></description>
		<wfw:commentRss>http://supposing.hostbunch.com/find-all-computer-accounts-in-a-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return the name and last logon of a user</title>
		<link>http://supposing.hostbunch.com/return-the-name-and-last-logon-of-a-user/</link>
		<comments>http://supposing.hostbunch.com/return-the-name-and-last-logon-of-a-user/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 14:02:14 +0000</pubDate>
		<dc:creator>Tom Evans</dc:creator>
				<category><![CDATA[dsquery]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://supposing.hostbunch.com/?p=263</guid>
		<description><![CDATA[<p><p><a href="http://supposing.hostbunch.com">Supposing Everything; Knowing Nothing! - Random thoughts about useless things.</a></p><p>Here is a quick way to retrieve the last logon date and time of a user.  This queries AD  for a specific username and returns distinquishedName, lastLogon and lastLogonTimestamp.  In a domain with only 1 DC, lastlogon will be what you use.  However, in a multiple DC domain all domain controllers will have different lastLogon [...]</p></p><p><a href="http://supposing.hostbunch.com/return-the-name-and-last-logon-of-a-user/">Return the name and last logon of a user</a></p>]]></description>
		<wfw:commentRss>http://supposing.hostbunch.com/return-the-name-and-last-logon-of-a-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete computer accounts who haven&#8217;t checked into active directory in x weeks</title>
		<link>http://supposing.hostbunch.com/delete-computer-accounts-who-havent-checked-into-active-directory-in-x-weeks/</link>
		<comments>http://supposing.hostbunch.com/delete-computer-accounts-who-havent-checked-into-active-directory-in-x-weeks/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 10:26:16 +0000</pubDate>
		<dc:creator>Tom Evans</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dsquery]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://supposing.hostbunch.com/?p=244</guid>
		<description><![CDATA[<p><p><a href="http://supposing.hostbunch.com">Supposing Everything; Knowing Nothing! - Random thoughts about useless things.</a></p><p>From time to time I like to run this command to see what computers have been inactive for x weeks. In this case, it&#8217;s all computer inactive for 10 weeks dsquery computer -inactive 10 Once I verify I want to delete them all, I run the below statement. The statement uses Directory Services Restore Mode [...]</p></p><p><a href="http://supposing.hostbunch.com/delete-computer-accounts-who-havent-checked-into-active-directory-in-x-weeks/">Delete computer accounts who haven&#8217;t checked into active directory in x weeks</a></p>]]></description>
		<wfw:commentRss>http://supposing.hostbunch.com/delete-computer-accounts-who-havent-checked-into-active-directory-in-x-weeks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find the organizational unit a computer or user is in</title>
		<link>http://supposing.hostbunch.com/find-the-organization-unit-a-computer-or-user-is-in/</link>
		<comments>http://supposing.hostbunch.com/find-the-organization-unit-a-computer-or-user-is-in/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 16:57:22 +0000</pubDate>
		<dc:creator>Tom Evans</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dsquery]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://supposing.hostbunch.com/?p=254</guid>
		<description><![CDATA[<p><p><a href="http://supposing.hostbunch.com">Supposing Everything; Knowing Nothing! - Random thoughts about useless things.</a></p><p>In a larger AD environments it&#8217;s hard to find which OU a user or computer may be in.  If you want to apply policy to that OU only, or maybe there is a template user in that OU, I use these commands to speed up the process of locating them. #determine what OU a computer [...]</p></p><p><a href="http://supposing.hostbunch.com/find-the-organization-unit-a-computer-or-user-is-in/">Find the organizational unit a computer or user is in</a></p>]]></description>
		<wfw:commentRss>http://supposing.hostbunch.com/find-the-organization-unit-a-computer-or-user-is-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

