<?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"
	>
<channel>
	<title>Comments for PowerShell Pro!</title>
	<atom:link href="http://www.powershellpro.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershellpro.com</link>
	<description>Sharing the Experience</description>
	<pubDate>Thu, 11 Mar 2010 14:43:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>Comment on Variables, Arrays, and Hash Tables by RobertS</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/variables-arrays-hashes/#comment-450</link>
		<dc:creator>RobertS</dc:creator>
		<pubDate>Wed, 10 Mar 2010 14:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/variables-arrays-hashes/#comment-450</guid>
		<description>Hi,
About moshe'problem :
You've to assigne the data type to variables, like this casting :
[String]$App=$temp[0].split()
[String]$dll=$temp[1].split()

Without this  you can't Update Hash Table
$App_dll.Add($dll,$App)
-&#62; because $dll and $App was System.Array in your first script...</description>
		<content:encoded><![CDATA[<p>Hi,<br />
About moshe&#8217;problem :<br />
You&#8217;ve to assigne the data type to variables, like this casting :<br />
[String]$App=$temp[0].split()<br />
[String]$dll=$temp[1].split()</p>
<p>Without this  you can&#8217;t Update Hash Table<br />
$App_dll.Add($dll,$App)<br />
-&gt; because $dll and $App was System.Array in your first script&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 3 Easy Steps to Get Information from Multiple Remote Computers&#8230; by Ralph</title>
		<link>http://www.powershellpro.com/powershell-scripts-3easysteps/76/#comment-448</link>
		<dc:creator>Ralph</dc:creator>
		<pubDate>Thu, 04 Mar 2010 23:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-scripts-3easysteps/76/#comment-448</guid>
		<description>Needed something quick and found this.

thanks a bunch.</description>
		<content:encoded><![CDATA[<p>Needed something quick and found this.</p>
<p>thanks a bunch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why I no longer hate writing documentation&#8230; by Bman</title>
		<link>http://www.powershellpro.com/why-i-no-longer-hate-writing-documentation/614/#comment-447</link>
		<dc:creator>Bman</dc:creator>
		<pubDate>Fri, 26 Feb 2010 00:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=614#comment-447</guid>
		<description>This looks great - however when choosing option 1 for all domain computers only one machine shows up. No errors pop up but in the debug window I see the following:

"Which computer resources would you like in the report?"
Undetermined
Undetermined 

Any help would be appreciated.

Thanks,

Brian</description>
		<content:encoded><![CDATA[<p>This looks great - however when choosing option 1 for all domain computers only one machine shows up. No errors pop up but in the debug window I see the following:</p>
<p>&#8220;Which computer resources would you like in the report?&#8221;<br />
Undetermined<br />
Undetermined </p>
<p>Any help would be appreciated.</p>
<p>Thanks,</p>
<p>Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Managing Active Directory with Windows PowerShell by Hinek</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/#comment-446</link>
		<dc:creator>Hinek</dc:creator>
		<pubDate>Wed, 24 Feb 2010 13:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/#comment-446</guid>
		<description>@Anthony: Just pipe your results to the Export-CSV CmdLet, like this:

$results &#124; Export-CSV myexportfile.csv</description>
		<content:encoded><![CDATA[<p>@Anthony: Just pipe your results to the Export-CSV CmdLet, like this:</p>
<p>$results | Export-CSV myexportfile.csv</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enumerate The Remote Event Log with .NET by Steve</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/#comment-445</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 17 Feb 2010 17:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-445</guid>
		<description>Is there a way to pass domain credentials with this script so it can be run against a different domain?</description>
		<content:encoded><![CDATA[<p>Is there a way to pass domain credentials with this script so it can be run against a different domain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell Parameters, Objects, and Formatting by John</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-parameters-objects-and-formatting/#comment-444</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 17 Feb 2010 11:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-parameters-objects-and-formatting/#comment-444</guid>
		<description>Thanks for this information, it's pretty useful.</description>
		<content:encoded><![CDATA[<p>Thanks for this information, it&#8217;s pretty useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell Scripting with WMI Part 2 by mirws</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/#comment-443</link>
		<dc:creator>mirws</dc:creator>
		<pubDate>Wed, 17 Feb 2010 01:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/wmi-part2/#comment-443</guid>
		<description>Hi there..
I try a remote reboot script but I got a message like this: 
"Get-WmiObject : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
At line:2 char:26
+ $colItems = Get-WmiObject &#60;&#60;&#60;&#60;  Win32_OperatingSystem -ComputerName “$strComputer”
    + CategoryInfo          : NotSpecified: (:) [Get-WmiObject], UnauthorizedAccessException
    + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
 
You cannot call a method on a null-valued expression.
At line:4 char:13
+ $Item.Reboot &#60;&#60;&#60;&#60; ()
    + CategoryInfo          : InvalidOperation: (Reboot:String) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull"

Its looks like I dont have a permission,.. although I run a powershell as a administator user. Did I make something wrong to execute this script? any advice are welcome...</description>
		<content:encoded><![CDATA[<p>Hi there..<br />
I try a remote reboot script but I got a message like this:<br />
&#8220;Get-WmiObject : Access is denied. (Exception from HRESULT: 0&#215;80070005 (E_ACCESSDENIED))<br />
At line:2 char:26<br />
+ $colItems = Get-WmiObject &lt;&lt;&lt;&lt;  Win32_OperatingSystem -ComputerName “$strComputer”<br />
    + CategoryInfo          : NotSpecified: (:) [Get-WmiObject], UnauthorizedAccessException<br />
    + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetWmiObjectCommand</p>
<p>You cannot call a method on a null-valued expression.<br />
At line:4 char:13<br />
+ $Item.Reboot &lt;&lt;&lt;&lt; ()<br />
    + CategoryInfo          : InvalidOperation: (Reboot:String) [], RuntimeException<br />
    + FullyQualifiedErrorId : InvokeMethodOnNull&#8221;</p>
<p>Its looks like I dont have a permission,.. although I run a powershell as a administator user. Did I make something wrong to execute this script? any advice are welcome&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Managing Active Directory with Windows PowerShell by Anthony</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/#comment-442</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Fri, 05 Feb 2010 01:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/#comment-442</guid>
		<description>This is a great series but I am stuck on detail that is killing me.  

I want to create a CSV file from output of my search.  If I use your search as an example, I feel like I should be able pipe $results into a series of commandlets and get a nice csv but I cannot get it to work.  Any pointers?</description>
		<content:encoded><![CDATA[<p>This is a great series but I am stuck on detail that is killing me.  </p>
<p>I want to create a CSV file from output of my search.  If I use your search as an example, I feel like I should be able pipe $results into a series of commandlets and get a nice csv but I cannot get it to work.  Any pointers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Conditional Logic by Kuahara</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-conditional-logic/#comment-441</link>
		<dc:creator>Kuahara</dc:creator>
		<pubDate>Sun, 24 Jan 2010 09:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-conditional-logic/#comment-441</guid>
		<description>For all intents and purposes, consider me a day 1 newbie.  I am trying to use your tutorial to get started.

per your instructions, I copied the contents of your PrintReport.ps1 file into a ps1 file on my local machine.

My desktop (the local machine where the script was run) is running vista ultimate x64.  This machine is in the same workgroup as my laptop which runs Windows XP Pro.

I ran the script from the desktop and input the machine name of the laptop.  I get an access denied error and the script ends.


I also tried running it on my domain (all machines are VM's).

In the first VM, I have Windows Server 2008 running.  The remaining 4 VM's are all running windows XP Pro and are named XP1, XP2, XP3, and XP4.

When I run the script from the server and input the XP1 machine name, it hangs for about a minute then returns, "The OS for: XP1 is not supported."


The OS of XP1 is:
OS=Windows_NT

the version is 5.1.2600

If you're still watching this, any help is appreciated.  Thanks.</description>
		<content:encoded><![CDATA[<p>For all intents and purposes, consider me a day 1 newbie.  I am trying to use your tutorial to get started.</p>
<p>per your instructions, I copied the contents of your PrintReport.ps1 file into a ps1 file on my local machine.</p>
<p>My desktop (the local machine where the script was run) is running vista ultimate x64.  This machine is in the same workgroup as my laptop which runs Windows XP Pro.</p>
<p>I ran the script from the desktop and input the machine name of the laptop.  I get an access denied error and the script ends.</p>
<p>I also tried running it on my domain (all machines are VM&#8217;s).</p>
<p>In the first VM, I have Windows Server 2008 running.  The remaining 4 VM&#8217;s are all running windows XP Pro and are named XP1, XP2, XP3, and XP4.</p>
<p>When I run the script from the server and input the XP1 machine name, it hangs for about a minute then returns, &#8220;The OS for: XP1 is not supported.&#8221;</p>
<p>The OS of XP1 is:<br />
OS=Windows_NT</p>
<p>the version is 5.1.2600</p>
<p>If you&#8217;re still watching this, any help is appreciated.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell Parameters, Objects, and Formatting by Chris</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-parameters-objects-and-formatting/#comment-440</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 30 Dec 2009 20:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-parameters-objects-and-formatting/#comment-440</guid>
		<description>I am trying to figure out a way to look at child items in a folder, only take files with a certain extension, then only take those greater than 2 hours old, then delete those files (leaving those less than 2 hours old still in the folder).  Anyone have any ideas on this?  New to powershell and this is not workable but is a start:   
Get-ChildItem C:\test &#124; where-object {$_.extension -eq ".reg"} &#124; Where-Object {$_.lastwritetime -gt(-2)}
Thanks!</description>
		<content:encoded><![CDATA[<p>I am trying to figure out a way to look at child items in a folder, only take files with a certain extension, then only take those greater than 2 hours old, then delete those files (leaving those less than 2 hours old still in the folder).  Anyone have any ideas on this?  New to powershell and this is not workable but is a start:<br />
Get-ChildItem C:\test | where-object {$_.extension -eq &#8220;.reg&#8221;} | Where-Object {$_.lastwritetime -gt(-2)}<br />
Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
