<?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>Exchange-Genie &#187; get</title>
	<atom:link href="http://www.exchange-genie.com/category/get/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Thu, 12 Jan 2012 19:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>EMS Script</title>
		<link>http://www.exchange-genie.com/2008/04/ems-script/</link>
		<comments>http://www.exchange-genie.com/2008/04/ems-script/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 15:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[get]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=41</guid>
		<description><![CDATA[I recently had to put a script together that would get a set of distribution groups and its members. The built in commands of get- distributiongroup will only dump the group name and its properties, the command of get-distributionmember will only dump the members. The following script is take in an OU path and print [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to put a script together that would get a set of distribution groups and its members. The built in commands of get- distributiongroup will only dump the group name and its properties, the command of get-distributionmember will only dump the members.</p>
<p>The following script is take in an OU path and print out the GroupName and its members.</p>
<p>## This script will get distrobution Groups and print out<br />## the Group Name and Members alias and Primary smtp address<br />##<br />## Example<br />## groupName: Group1<br />## groupsMembers:<br />##<br />## alias PrimarySmtpAddress<br />## &#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />## User.Alias <a href="mailto:USER@primarysmtpaddress">USER@primarysmtpaddress</a></p>
<p>$OU=&#8221;InputHere&#8221;<br />##input OU path above</p>
<p>foreach($group in Get-DistributionGroup -OrganizationalUnit $Ou)<br />{<br />write-output &#8220;GroupName:$group &#8220;<br />Write-output &#8220;GroupsMembers:&#8221;<br />Get-DistributionGroupMember $group ft alias,primarysmtpaddress<br />write-output &#8216; &#8216;</p>
<p>}<span id="more-41"></span><!--6926a317839e323f11ca8eea402d89be41241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/happy-go-lucky.html>happy go lucky closer movie</a></td>
<td><a href=http://paff.org/gal/movies/wicked-lake.html>wicked lake movie poster</a></td>
<td><a href=http://paff.org/gal/movies/king-of-new-york.html>king of new york date movie</a></td>
<td><a href=http://paff.org/gal/movies/queen-of-spades-the.html>queen of spades the movie trivia</a></td>
<td><a href=http://paff.org/gal/movies/never-back-down.html>never back down movie trailer</a></td>
<td><a href=http://paff.org/gal/movies/my-bloody-valentine.html>my bloody valentine movie download</a></td>
<td><a href=http://paff.org/gal/movies/dead-like-me.html>dead like me bunny movie</a></td>
<td><a href=http://paff.org/gal/movies/dark-honeymoon.html>dark honeymoon movie genre</a></td>
<td><a href=http://paff.org/gal/movies/miracle-at-st-anna.html>miracle at st anna movie screenplay</a></td>
<td><a href=http://paff.org/gal/movies/living-hell.html>living hell closer movie</a></td>
<td></td>
</tr>
</table>
<p><!--/6926a317839e323f11ca8eea402d89be41241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2008/04/ems-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

