<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Active Directory group membership modifications report</title>
	<atom:link href="http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/</link>
	<description>On Windows PowerShell and other admin-related topics</description>
	<lastBuildDate>Thu, 29 Jul 2010 08:16:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: OldCmp Active Directory Reporting Tool</title>
		<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/#comment-170</link>
		<dc:creator>OldCmp Active Directory Reporting Tool</dc:creator>
		<pubDate>Wed, 05 May 2010 14:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/10/11/active-directory-group-membership-modifications-report/#comment-170</guid>
		<description>[...] Active Directory group membership modifications report « Jan Egil &#8230;   VN:F [1.7.9_1023]please wait...Rating: 0.0/5 (0 votes cast) [...]</description>
		<content:encoded><![CDATA[<p>[...] Active Directory group membership modifications report « Jan Egil &#8230;   VN:F [1.7.9_1023]please wait&#8230;Rating: 0.0/5 (0 votes cast) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Egil Ring</title>
		<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/#comment-156</link>
		<dc:creator>Jan Egil Ring</dc:creator>
		<pubDate>Thu, 29 Apr 2010 14:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/10/11/active-directory-group-membership-modifications-report/#comment-156</guid>
		<description>Thanks for the suggested enhancement, I`ve uploaded a new version of the script here: http://poshcode.org/1810</description>
		<content:encoded><![CDATA[<p>Thanks for the suggested enhancement, I`ve uploaded a new version of the script here: <a href="http://poshcode.org/1810" rel="nofollow">http://poshcode.org/1810</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HappyBlue</title>
		<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/#comment-121</link>
		<dc:creator>HappyBlue</dc:creator>
		<pubDate>Tue, 30 Mar 2010 00:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/10/11/active-directory-group-membership-modifications-report/#comment-121</guid>
		<description>Jan,
A useful reporting script, just the sort of thing I was looking for and saved me a lot of work re-inventing the wheel! :)

I was looking at it and it can be made more efficient if you assign the &#039;get-eventlog&#039; to a variable and query that each time rather than using &#039;get-eventlog&#039; three times.

From line 161 ...
foreach ($domaincontroller in $domaincontrollers){
$x = Get-EventLog -LogName &#039;Security&#039; -ComputerName $domaincontroller -After ((Get-Date).AddDays(-1))

This will find all event logs in the last day using the &#039;-After&#039; option of hte Get-EvenLog cmdlet.

You can then use this variable to find the events you are after, not needing the isWithin function as we have the timeframe already defined ...

$MyReport += Get-HTMLTable ($x &#124; Where-Object {$_.EventID -eq &quot;636&quot; -or $_.EventID -eq &quot;4732&quot;} &#124; select TimeGenerated,Message  )

By doing this, we only run &#039;Get-Evenlog&#039; once against each DC instead of 6 times and so the job is much quicker.

I hope you find this helpful :)</description>
		<content:encoded><![CDATA[<p>Jan,<br />
A useful reporting script, just the sort of thing I was looking for and saved me a lot of work re-inventing the wheel! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I was looking at it and it can be made more efficient if you assign the &#8216;get-eventlog&#8217; to a variable and query that each time rather than using &#8216;get-eventlog&#8217; three times.</p>
<p>From line 161 &#8230;<br />
foreach ($domaincontroller in $domaincontrollers){<br />
$x = Get-EventLog -LogName &#8216;Security&#8217; -ComputerName $domaincontroller -After ((Get-Date).AddDays(-1))</p>
<p>This will find all event logs in the last day using the &#8216;-After&#8217; option of hte Get-EvenLog cmdlet.</p>
<p>You can then use this variable to find the events you are after, not needing the isWithin function as we have the timeframe already defined &#8230;</p>
<p>$MyReport += Get-HTMLTable ($x | Where-Object {$_.EventID -eq &#8220;636&#8243; -or $_.EventID -eq &#8220;4732&#8243;} | select TimeGenerated,Message  )</p>
<p>By doing this, we only run &#8216;Get-Evenlog&#8217; once against each DC instead of 6 times and so the job is much quicker.</p>
<p>I hope you find this helpful <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eldenolla</title>
		<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/#comment-76</link>
		<dc:creator>Eldenolla</dc:creator>
		<pubDate>Sat, 02 Jan 2010 05:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/10/11/active-directory-group-membership-modifications-report/#comment-76</guid>
		<description>I&#039;m always searching for brandnew infos in the world wide web about this theme. Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m always searching for brandnew infos in the world wide web about this theme. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OldCmp Active Directory Reporting Tool</title>
		<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/#comment-70</link>
		<dc:creator>OldCmp Active Directory Reporting Tool</dc:creator>
		<pubDate>Mon, 14 Dec 2009 23:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/10/11/active-directory-group-membership-modifications-report/#comment-70</guid>
		<description>[...] Active Directory group membership modifications report « Jan Egil &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Active Directory group membership modifications report « Jan Egil &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Egil Ring</title>
		<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/#comment-50</link>
		<dc:creator>Jan Egil Ring</dc:creator>
		<pubDate>Mon, 12 Oct 2009 09:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/10/11/active-directory-group-membership-modifications-report/#comment-50</guid>
		<description>Hi,

Unfortunately I`m having some problems with the PoshCode.org uploading (http://powershellcommunity.org/tabid/54/afv/topic/aff/9/aft/4304/Default.aspx).

Until the problem is resolved the script are available from this link:
http://80.203.207.194/temp/Get-ADGroupModificationsReport.txt

I`ve also updated the link in the blog-post.

--Jan Egil--</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Unfortunately I`m having some problems with the PoshCode.org uploading (<a href="http://powershellcommunity.org/tabid/54/afv/topic/aff/9/aft/4304/Default.aspx" rel="nofollow">http://powershellcommunity.org/tabid/54/afv/topic/aff/9/aft/4304/Default.aspx</a>).</p>
<p>Until the problem is resolved the script are available from this link:<br />
<a href="http://80.203.207.194/temp/Get-ADGroupModificationsReport.txt" rel="nofollow">http://80.203.207.194/temp/Get-ADGroupModificationsReport.txt</a></p>
<p>I`ve also updated the link in the blog-post.</p>
<p>&#8211;Jan Egil&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksandar</title>
		<link>http://blog.powershell.no/2009/10/11/active-directory-group-membership-modifications-report/#comment-49</link>
		<dc:creator>Aleksandar</dc:creator>
		<pubDate>Mon, 12 Oct 2009 09:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/10/11/active-directory-group-membership-modifications-report/#comment-49</guid>
		<description>There is no http://poshcode.org/1385 at the moment on Poshcode site. The latest is http://poshcode.org/1384 (Get-Hostname).</description>
		<content:encoded><![CDATA[<p>There is no <a href="http://poshcode.org/1385" rel="nofollow">http://poshcode.org/1385</a> at the moment on Poshcode site. The latest is <a href="http://poshcode.org/1384" rel="nofollow">http://poshcode.org/1384</a> (Get-Hostname).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
