<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>Richard Siddaway's Blog - All Comments</title><link>http://msmvps.com/blogs/richardsiddaway/default.aspx</link><description>Of PowerShell and Other Things</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Multiple test files</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/11/05/creating-temporary-files.aspx#1738369</link><pubDate>Sun, 08 Nov 2009 11:03:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1738369</guid><dc:creator>Richard Siddaway's Blog</dc:creator><description>&lt;p&gt;Back here &lt;a rel="nofollow" target="_new" href="http://msmvps.com/blogs/richardsiddaway/archive/2009/11/05/creating-temporary-files.aspx"&gt;msmvps.com/.../creating-temporary-files.aspx&lt;/a&gt; or&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1738369" width="1" height="1"&gt;</description></item><item><title>re: System Up Time</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/08/13/system-up-time.aspx#1715394</link><pubDate>Thu, 13 Aug 2009 19:43:36 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1715394</guid><dc:creator>RichardSiddaway</dc:creator><description>&lt;p&gt;The one liner is ugly and doesn&amp;#39;t gain anything. &amp;nbsp;Probably slower due to two WMI calls&lt;/p&gt;
&lt;p&gt;.NET version is better looking but looks don&amp;#39;t win when scripting. As long as it work ugly is good&lt;/p&gt;
&lt;p&gt;.NET vs WMI probably comes down to personal preference&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1715394" width="1" height="1"&gt;</description></item><item><title>re: System Up Time</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/08/13/system-up-time.aspx#1715312</link><pubDate>Thu, 13 Aug 2009 11:04:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1715312</guid><dc:creator>pan_2@LJ</dc:creator><description>&lt;p&gt;with .net its better looking&lt;/p&gt;
&lt;p&gt;(get-date) &amp;nbsp;- [Management.ManagementDateTimeConverter]::ToDateTime((Get-WmiObject Win32_OperatingSystem).LastBootUpTime)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1715312" width="1" height="1"&gt;</description></item><item><title>re: System Up Time</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/08/13/system-up-time.aspx#1715308</link><pubDate>Thu, 13 Aug 2009 11:01:59 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1715308</guid><dc:creator>pan_2@LJ</dc:creator><description>&lt;p&gt;ONELINER&lt;/p&gt;
&lt;p&gt;(get-date) &amp;nbsp;- (Get-WmiObject Win32_OperatingSystem ).ConvertToDateTime((Get-WmiObject Win32_OperatingSystem).LastBootUpTime)&lt;/p&gt;
&lt;p&gt;but pretty ugly, and two WMI requests.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1715308" width="1" height="1"&gt;</description></item><item><title>re: PowerShell Editing</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/07/16/powershell-editing.aspx#1702507</link><pubDate>Fri, 17 Jul 2009 06:57:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1702507</guid><dc:creator>RichardSiddaway</dc:creator><description>&lt;p&gt;Afraid I&amp;#39;m using Windows 7 and the choice to change the default was grayed out even with elevated privileges.&lt;/p&gt;
&lt;p&gt;Other apps didn&amp;#39;t have this issue&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1702507" width="1" height="1"&gt;</description></item><item><title>re: PowerShell Editing</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/07/16/powershell-editing.aspx#1702400</link><pubDate>Thu, 16 Jul 2009 20:27:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1702400</guid><dc:creator>Dmitry Sotnikov</dc:creator><description>&lt;p&gt;Also, I have just spent a few minutes experimenting with file associations and could not find any issues.&lt;/p&gt;
&lt;p&gt;Both on XP and Vista, I could:&lt;/p&gt;
&lt;p&gt;1. Right-click a .PS1 file, &lt;/p&gt;
&lt;p&gt;2. Pick &amp;quot;Open With&amp;quot;,&lt;/p&gt;
&lt;p&gt;3. Click &amp;quot;Choose Program&amp;quot;,&lt;/p&gt;
&lt;p&gt;4. Pick Notepad or PowerShell ISE,&lt;/p&gt;
&lt;p&gt;5. Select the checkbox to make it the default application.&lt;/p&gt;
&lt;p&gt;This worked flawlessly - even changed file icons - and required no registry activity whatsoever.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1702400" width="1" height="1"&gt;</description></item><item><title>re: PowerShell Editing</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/07/16/powershell-editing.aspx#1702351</link><pubDate>Thu, 16 Jul 2009 14:45:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1702351</guid><dc:creator>RichardSiddaway</dc:creator><description>&lt;p&gt;I don&amp;#39;t remember seeing the option. &amp;nbsp;I&amp;#39;l look closer next time I install&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1702351" width="1" height="1"&gt;</description></item><item><title>re: PowerShell Editing</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/07/16/powershell-editing.aspx#1702341</link><pubDate>Thu, 16 Jul 2009 13:58:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1702341</guid><dc:creator>Dmitry Sotnikov</dc:creator><description>&lt;p&gt;Richard,&lt;/p&gt;
&lt;p&gt;File association is optional - this is just one of the features you select when running the setup. Deselect the feature and PowerGUI won&amp;#39;t associate itself with the PS1 file extension.&lt;/p&gt;
&lt;p&gt;With that said, we will have a look for better ways to set association and make it easier to remove it.&lt;/p&gt;
&lt;p&gt;Dmitry&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1702341" width="1" height="1"&gt;</description></item><item><title>re: foreach usage</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/06/24/foreach-usage.aspx#1696694</link><pubDate>Thu, 25 Jun 2009 10:31:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1696694</guid><dc:creator>Vadims Podans</dc:creator><description>&lt;p&gt;Several time ago I wrote post about practical differences between foreach and foreach-object:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://vpodans.spaces.live.com/blog/cns"&gt;vpodans.spaces.live.com/.../cns&lt;/a&gt;!BB1419A2CFC1E008!273.entry&lt;/p&gt;
&lt;p&gt;(post in Russian). The general performance difference is that foreach is vary fast when you work with simple data (large count of little data) and very slow when you work with large count of big data.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1696694" width="1" height="1"&gt;</description></item><item><title>Windows 7 Troubleshooting Packs &amp;laquo; On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/03/06/windows-7-troubleshooting-pack.aspx#1688502</link><pubDate>Fri, 17 Apr 2009 21:14:55 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1688502</guid><dc:creator>Windows 7 Troubleshooting Packs « On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Windows 7 Troubleshooting Packs &amp;laquo; On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1688502" width="1" height="1"&gt;</description></item><item><title>Windows 7 Troubleshooting Packs &amp;laquo; On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/03/06/windows-7-troubleshooting-pack.aspx#1688501</link><pubDate>Fri, 17 Apr 2009 21:11:40 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1688501</guid><dc:creator>Windows 7 Troubleshooting Packs « On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Windows 7 Troubleshooting Packs &amp;laquo; On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1688501" width="1" height="1"&gt;</description></item><item><title>Windows 7 Troubleshooting Packs &amp;laquo; On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/03/06/windows-7-troubleshooting-pack.aspx#1688425</link><pubDate>Fri, 17 Apr 2009 13:52:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1688425</guid><dc:creator>Windows 7 Troubleshooting Packs « On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Windows 7 Troubleshooting Packs &amp;laquo; On-Site Computer Services, Inc. in New Orleans Blog 504-469-6991&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1688425" width="1" height="1"&gt;</description></item><item><title>Posts about online meetings as of March 16, 2009</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/03/15/march-live-meeting.aspx#1678356</link><pubDate>Mon, 16 Mar 2009 13:32:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1678356</guid><dc:creator>Posts about online meetings as of March 16, 2009</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Posts about online meetings as of March 16, 2009&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1678356" width="1" height="1"&gt;</description></item><item><title>Windows 2008 Security  - LiveMeeting ???????? Last Call</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/02/25/livemeeting-last-call.aspx#1673936</link><pubDate>Thu, 26 Feb 2009 01:41:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1673936</guid><dc:creator>Windows 2008 Security  - LiveMeeting ???????? Last Call</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Windows 2008 Security &amp;nbsp;- LiveMeeting ???????? Last Call&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1673936" width="1" height="1"&gt;</description></item><item><title>Windows 2008 Security  - Thursday ???????? Live Meeting</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/02/23/thursday-live-meeting.aspx#1673275</link><pubDate>Mon, 23 Feb 2009 08:59:08 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1673275</guid><dc:creator>Windows 2008 Security  - Thursday ???????? Live Meeting</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Windows 2008 Security &amp;nbsp;- Thursday ???????? Live Meeting&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1673275" width="1" height="1"&gt;</description></item><item><title>Windows 2008 Security  - PowerShell advanced function parameters</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/02/21/powershell-advanced-function-parameters.aspx#1673079</link><pubDate>Sat, 21 Feb 2009 15:39:12 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1673079</guid><dc:creator>Windows 2008 Security  - PowerShell advanced function parameters</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Windows 2008 Security &amp;nbsp;- PowerShell advanced function parameters&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1673079" width="1" height="1"&gt;</description></item><item><title>Windows 2008 Security  - PowerShell UG - February</title><link>http://msmvps.com/blogs/richardsiddaway/archive/2009/02/02/powershell-ug-february.aspx#1668272</link><pubDate>Mon, 02 Feb 2009 21:55:43 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1668272</guid><dc:creator>Windows 2008 Security  - PowerShell UG - February</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Windows 2008 Security &amp;nbsp;- PowerShell UG - February&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1668272" width="1" height="1"&gt;</description></item></channel></rss>