<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hey, Scripting Guy! How Long Has My Server Been Up?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/08/18/how-long-has-my-server-been-up.aspx</link><description>Hey, Scripting Guy! Everyone at work has the idea that our network is unreliable. However, I know that our servers are seldom down. How can I prove to them that I know my stuff? -- HB 
 Hi HB, 
 You are really asking two questions. The first I can help</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hey, Scripting Guy! How Long Has My Server Been Up?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/08/18/how-long-has-my-server-been-up.aspx#3324144</link><pubDate>Fri, 09 Apr 2010 12:51:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3324144</guid><dc:creator>jrh</dc:creator><description>&lt;p&gt;I meant to include the closing parenthesis after $ui)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3324144" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! How Long Has My Server Been Up?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/08/18/how-long-has-my-server-been-up.aspx#3324143</link><pubDate>Fri, 09 Apr 2010 12:50:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3324143</guid><dc:creator>jrh</dc:creator><description>&lt;p&gt;Hi guys. I've been working on something similar to this and I came across this page. You indicate that wmi information from multiple computers can be stored in a variable inside a foreach loop. My experience has been that the variable only stores the info from the last computer in the list...not all of them. It would be a lot easier for me if it did, but the only way I've been able to make it work (somewhat) is to add a + sign like this: &lt;/p&gt;
&lt;p&gt;$times+=(get-WmiObject -class Win32_OperatingSystem -computername $ui.lastbootuptime&lt;/p&gt;
&lt;p&gt;However, the info goes in flat and concatenated which presents a formatting problem. Anyway, could you verify that method of gathering wmi info from multiple computers and storing it in a variable? Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3324143" width="1" height="1"&gt;</description></item></channel></rss>