<?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 for The Awesome Machine</title>
	<atom:link href="http://awesome-machine.net/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://awesome-machine.net</link>
	<description>Exploding with Awesome Junk</description>
	<lastBuildDate>Thu, 23 May 2013 16:12:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Powershell and WMI Love for the Busy Systems Administrator by google</title>
		<link>http://awesome-machine.net/?p=666#comment-38</link>
		<dc:creator>google</dc:creator>
		<pubDate>Thu, 23 May 2013 16:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=666#comment-38</guid>
		<description><![CDATA[&lt;strong&gt;google...&lt;/strong&gt;

Google http://www.google.com...]]></description>
		<content:encoded><![CDATA[<p><strong>google&#8230;</strong></p>
<p>Google <a href="http://www.google.com" rel="nofollow">http://www.google.com</a>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Powershell and WMI Love for the Busy Systems Administrator by self photos</title>
		<link>http://awesome-machine.net/?p=666#comment-28</link>
		<dc:creator>self photos</dc:creator>
		<pubDate>Tue, 26 Feb 2013 23:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=666#comment-28</guid>
		<description><![CDATA[&lt;strong&gt;self photos...&lt;/strong&gt;

I like this weblog very much, Its a very nice place to read and find info. &quot;Life becomes harder for us when we live for others, but it also becomes richer and happier.&quot; by Albert Schweitzer....]]></description>
		<content:encoded><![CDATA[<p><strong>self photos&#8230;</strong></p>
<p>I like this weblog very much, Its a very nice place to read and find info. &#8220;Life becomes harder for us when we live for others, but it also becomes richer and happier.&#8221; by Albert Schweitzer&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Powershell Add User/Group to give full control to a folder and all subfolders by Ben</title>
		<link>http://awesome-machine.net/?p=796#comment-26</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 20 Aug 2012 18:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=796#comment-26</guid>
		<description><![CDATA[Dammit-

$folderPath = &quot;\\afolder\ashare\andaname&quot;
$user_Account = &quot;groupname&quot;
$Acl = (Get-Item $folderPath).GetAccessControl(&quot;Access&quot;)
$Ar = New-Object system.Security.AccessControl.FileSystemAccessRule($user_account, &quot;FullControl&quot;, &quot;ContainerInherit, ObjectInherit&quot;, &quot;None&quot;, &quot;Allow&quot;)
$Acl.Setaccessrule($Ar)
Set-Acl $Folderpath $Acl]]></description>
		<content:encoded><![CDATA[<p>Dammit-</p>
<p>$folderPath = &#8220;\\afolder\ashare\andaname&#8221;<br />
$user_Account = &#8220;groupname&#8221;<br />
$Acl = (Get-Item $folderPath).GetAccessControl(&#8220;Access&#8221;)<br />
$Ar = New-Object system.Security.AccessControl.FileSystemAccessRule($user_account, &#8220;FullControl&#8221;, &#8220;ContainerInherit, ObjectInherit&#8221;, &#8220;None&#8221;, &#8220;Allow&#8221;)<br />
$Acl.Setaccessrule($Ar)<br />
Set-Acl $Folderpath $Acl</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Server 2008 R2- Enabling Wireless Connection by Cookies are awesome &#171; The Awesome Machine</title>
		<link>http://awesome-machine.net/?p=755#comment-25</link>
		<dc:creator>Cookies are awesome &#171; The Awesome Machine</dc:creator>
		<pubDate>Fri, 17 Aug 2012 21:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=755#comment-25</guid>
		<description><![CDATA[[...] This site   on the next page Tell your friends about this rubbish!EmailFacebookDigg        Click here to cancel reply. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] This site   on the next page Tell your friends about this rubbish!EmailFacebookDigg        Click here to cancel reply. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Powershell Add User/Group to give full control to a folder and all subfolders by Powershell Add User/Group to give full control to a folder and all subfolders Part II &#171; The Awesome Machine</title>
		<link>http://awesome-machine.net/?p=796#comment-24</link>
		<dc:creator>Powershell Add User/Group to give full control to a folder and all subfolders Part II &#171; The Awesome Machine</dc:creator>
		<pubDate>Thu, 16 Aug 2012 12:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=796#comment-24</guid>
		<description><![CDATA[[...] last night I posted an article (For those who missed it) but was totally biased to a particular file structure. I found that using this on an appliance (I [...]]]></description>
		<content:encoded><![CDATA[<p>[...] last night I posted an article (For those who missed it) but was totally biased to a particular file structure. I found that using this on an appliance (I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows &#8220;8&#8243; Server Beta by Ben</title>
		<link>http://awesome-machine.net/?p=625#comment-23</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 02 Mar 2012 14:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=625#comment-23</guid>
		<description><![CDATA[For those who download it- if you are using VMware don&#039;t use the quick setup, setup a blank machine first then load the .iso, it fuckered up after the answerfile prompt was created in the unattend.

Oh and by default servercore without a gui is selected...]]></description>
		<content:encoded><![CDATA[<p>For those who download it- if you are using VMware don&#8217;t use the quick setup, setup a blank machine first then load the .iso, it fuckered up after the answerfile prompt was created in the unattend.</p>
<p>Oh and by default servercore without a gui is selected&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows &#8220;8&#8243; Server Beta by New Powershell Commandlets in Windows Server &#8220;8&#8243; &#171; The Awesome Machine</title>
		<link>http://awesome-machine.net/?p=625#comment-22</link>
		<dc:creator>New Powershell Commandlets in Windows Server &#8220;8&#8243; &#171; The Awesome Machine</dc:creator>
		<pubDate>Fri, 02 Mar 2012 13:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=625#comment-22</guid>
		<description><![CDATA[[...] can read about some of the very brief details in my article: Right here         Click here to cancel [...]]]></description>
		<content:encoded><![CDATA[<p>[...] can read about some of the very brief details in my article: Right here         Click here to cancel [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Request for a script: by Ben</title>
		<link>http://awesome-machine.net/?p=599#comment-21</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 14 Feb 2012 11:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=599#comment-21</guid>
		<description><![CDATA[The &quot; -after $endDate&quot; was working for me but it&#039;s kind of clunky.  It reverts back to the .Net Method Date Time method:
http://msdn.microsoft.com/en-us/library/system.datetime.aspx

I tried this:  
&lt;code&gt;
$begindate = ([datetime]&quot;$UsrStartDate&quot;).GetType()
&lt;/code&gt;
And I still got an incorrect value.  Now I was able to fudge it a little to get correct parsing results and that&#039;s by doing this:
get-eventlog -logname application -entrytype Error, Warning -after (get-date).addHours(-48)
&lt;/code&gt;
That&#039;s a direct item from the DateTime Structure and it seemed to produce correct results.  If you wanted to, you could do something like this:
$UsrStartDate = Read-Host &quot;Hey enter the days ago you wanted the logs&quot;
foreach ($server in $svrList)
{
get-eventlog -logname system -after (get-date).addHours(-$UsrStartDate) &#124; where-Object {$_.EventID -eq 6013}
}
&lt;/code&gt;
You would have to do the math in the program for the hours and such, but maybe that might help.  It produced spot on results.

The other one parsed, but it was unreliable how it produced the data.

Hope that helps!]]></description>
		<content:encoded><![CDATA[<p>The &#8221; -after $endDate&#8221; was working for me but it&#8217;s kind of clunky.  It reverts back to the .Net Method Date Time method:<br />
<a href="http://msdn.microsoft.com/en-us/library/system.datetime.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.datetime.aspx</a></p>
<p>I tried this:<br />
<code><br />
$begindate = ([datetime]"$UsrStartDate").GetType()<br />
</code><br />
And I still got an incorrect value.  Now I was able to fudge it a little to get correct parsing results and that&#8217;s by doing this:<br />
get-eventlog -logname application -entrytype Error, Warning -after (get-date).addHours(-48)</p>
<p>That's a direct item from the DateTime Structure and it seemed to produce correct results.  If you wanted to, you could do something like this:<br />
$UsrStartDate = Read-Host "Hey enter the days ago you wanted the logs"<br />
foreach ($server in $svrList)<br />
{<br />
get-eventlog -logname system -after (get-date).addHours(-$UsrStartDate) | where-Object {$_.EventID -eq 6013}<br />
}</p>
<p>You would have to do the math in the program for the hours and such, but maybe that might help.  It produced spot on results.</p>
<p>The other one parsed, but it was unreliable how it produced the data.</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Request for a script: by ninjapanda</title>
		<link>http://awesome-machine.net/?p=599#comment-20</link>
		<dc:creator>ninjapanda</dc:creator>
		<pubDate>Tue, 14 Feb 2012 04:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=599#comment-20</guid>
		<description><![CDATA[$SvrList = get-content &quot;c:\scripts\servers.txt&quot;

Write-host &quot;Print Event Compiler&quot;

$UsrStartDate = Read-Host &quot;Enter the beginning date in  MM/DD/YYYY format please:&quot;
$UsrEndDate = Read-Host &quot;Enter the ending date in  MM/DD/YYYY format please:&quot;
$begindate = get-date -uFormat %m/%d/%y ($UsrStartDate) 
$enddate = get-date -uFormat %m/%d/%y ($UsrEndDate)

foreach ($server in $SvrList)
{
 get-eventlog system -computer $server -before $begindate -after $enddate &#124; where-Object {$_.EventID -eq 6013}
}

Why will it not parse based on the date variables I am handing to it? Please help powershell master.]]></description>
		<content:encoded><![CDATA[<p>$SvrList = get-content &#8220;c:\scripts\servers.txt&#8221;</p>
<p>Write-host &#8220;Print Event Compiler&#8221;</p>
<p>$UsrStartDate = Read-Host &#8220;Enter the beginning date in  MM/DD/YYYY format please:&#8221;<br />
$UsrEndDate = Read-Host &#8220;Enter the ending date in  MM/DD/YYYY format please:&#8221;<br />
$begindate = get-date -uFormat %m/%d/%y ($UsrStartDate)<br />
$enddate = get-date -uFormat %m/%d/%y ($UsrEndDate)</p>
<p>foreach ($server in $SvrList)<br />
{<br />
 get-eventlog system -computer $server -before $begindate -after $enddate | where-Object {$_.EventID -eq 6013}<br />
}</p>
<p>Why will it not parse based on the date variables I am handing to it? Please help powershell master.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Request for a script: by Ben</title>
		<link>http://awesome-machine.net/?p=599#comment-19</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 13 Feb 2012 20:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://awesome-machine.net/?p=599#comment-19</guid>
		<description><![CDATA[http://technet.microsoft.com/en-us/library/ee156817.aspx]]></description>
		<content:encoded><![CDATA[<p><a href="http://technet.microsoft.com/en-us/library/ee156817.aspx" rel="nofollow">http://technet.microsoft.com/en-us/library/ee156817.aspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
