<?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>Who... What... Where... &#187; CLI</title>
	<atom:link href="http://www.yeltuor.com/articles/tag/cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yeltuor.com</link>
	<description>General things I find interesting</description>
	<lastBuildDate>Sun, 02 Aug 2009 09:58:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AD Command Line Queries</title>
		<link>http://www.yeltuor.com/articles/script/ad-command-line-queries/</link>
		<comments>http://www.yeltuor.com/articles/script/ad-command-line-queries/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 20:48:31 +0000</pubDate>
		<dc:creator>shane</dc:creator>
				<category><![CDATA[Scripting Snippets]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Query]]></category>

		<guid isPermaLink="false">http://www.yeltuor.com/?p=84</guid>
		<description><![CDATA[There are a number of ways to query the Active Directory database to export objects and there attributes. One of the most common groups of tools are provided by Microsoft; dsget and dsquery.
Query Group Members
To display the member of a specific group use the dsget group command
dsget group &#8220;CN=My Group,OU=Domain Groups,DC=Domain,DC=co,DC=uk&#8221; -members
The above command will [...]]]></description>
			<content:encoded><![CDATA[<p>There are a number of ways to query the Active Directory database to export objects and there attributes. One of the most common groups of tools are provided by Microsoft; <em>dsget</em> and <em>dsquery.</em></p>
<h3>Query Group Members</h3>
<p>To display the member of a specific group use the <em>dsget group</em> command</p>
<blockquote><p>dsget group &#8220;CN=My Group,OU=Domain Groups,DC=Domain,DC=co,DC=uk&#8221; -members</p></blockquote>
<p>The above command will list the UPN of the users in <em>My Group</em>, if more information is required from each of the users within <em>My Group</em> the output can be piped into another dsget command</p>
<p>To display the member of a specific group use the <em>dsget group</em> command</p>
<blockquote><p>dsget group &#8220;CN=My Group,OU=Domain Groups,DC=Domain,DC=co,DC=uk&#8221; -members | dsget user -upn -display -disabled -acctexpires</p></blockquote>
<p>This commnd above will list the users in the group <em>My Group</em> with there UPN, display name, if the account is disabled and when the account expires.</p>

	Tags: <a href="http://www.yeltuor.com/articles/tag/active-directory/" title="Active Directory" rel="tag">Active Directory</a>, <a href="http://www.yeltuor.com/articles/tag/cli/" title="CLI" rel="tag">CLI</a>, <a href="http://www.yeltuor.com/articles/tag/query/" title="Query" rel="tag">Query</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.yeltuor.com/articles/script/ad-command-line-queries/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows CLI &#8211; Tasklist</title>
		<link>http://www.yeltuor.com/articles/how-to/windows-cli-tasklist/</link>
		<comments>http://www.yeltuor.com/articles/how-to/windows-cli-tasklist/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 22:09:31 +0000</pubDate>
		<dc:creator>shane</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.yeltuor.com/?p=70</guid>
		<description><![CDATA[The command line tool tasklist without any switches will simply display the local currently running processes and if the /S parameter is used process&#8217;s running on a remote machine can be queried.
Now all of this isn&#8217;t really worth writing about you might say, however one switch that I found useful was the command tasklist /svc [...]]]></description>
			<content:encoded><![CDATA[<p>The command line tool <em>tasklist</em> without any switches will simply display the local currently running processes and if the <em>/S</em> parameter is used process&#8217;s running on a remote machine can be queried.</p>
<p>Now all of this isn&#8217;t really worth writing about you might say, however one switch that I found useful was the command <em>tasklist /svc</em> ; this will display a list of all running processes along with any related services attached to that process.</p>

	Tags: <a href="http://www.yeltuor.com/articles/tag/cli/" title="CLI" rel="tag">CLI</a>, <a href="http://www.yeltuor.com/articles/tag/services/" title="Services" rel="tag">Services</a>, <a href="http://www.yeltuor.com/articles/tag/windows/" title="Windows" rel="tag">Windows</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.yeltuor.com/articles/how-to/windows-cli-tasklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
