<?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! Blog - All Comments</title><link>http://blogs.technet.com/b/heyscriptingguy/</link><description>The Hey, Scripting Guy! Blog is the number one blog hosting daily Windows PowerShell articles in a simple, scenario driven, how to format.</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! Weekend Scripter: Scripting Microsoft Security Essentials</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/05/16/hey-scripting-guy-weekend-scripter-scripting-microsoft-security-essentials.aspx#3573457</link><pubDate>Fri, 17 May 2013 22:51:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573457</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@Dean look back at the article above. I am calling the command line: MPCMDRUN.EXE to see all it can do, use this MPCMDRUN.EXE /? to see the help. Note, this is not in your path by default, so you will need to go to the directory it installs.&lt;/p&gt;
&lt;p&gt;For checking when it ran, also see above where I query the appropriate events from the event log. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573457" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! Weekend Scripter: Scripting Microsoft Security Essentials</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/05/16/hey-scripting-guy-weekend-scripter-scripting-microsoft-security-essentials.aspx#3573455</link><pubDate>Fri, 17 May 2013 22:38:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573455</guid><dc:creator>dean</dc:creator><description>&lt;p&gt;Is there a way to query the status of Security Essentials from the command line or powershell? I&amp;#39;ve got Security Essentials running on computers in a lab (a mix of XP, 7 x32, and 7 x64). I&amp;#39;d like to create a report to show each of these four items for each computer in the lab:&lt;/p&gt;
&lt;p&gt;1) Real time protection status (e.g. On)&lt;/p&gt;
&lt;p&gt;2) Virus and spyware definitions (e.g. Up to date)&lt;/p&gt;
&lt;p&gt;3) Last scan (e.g. 5/16/2013)&lt;/p&gt;
&lt;p&gt;4) Next scheduled scan (e.g. 5/23/2013)&lt;/p&gt;
&lt;p&gt;Thanks in advance for any help!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573455" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! Can I Open a File Dialog Box with Windows PowerShell?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2009/09/01/hey-scripting-guy-september-1.aspx#3573435</link><pubDate>Fri, 17 May 2013 20:38:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573435</guid><dc:creator>deadlydog</dc:creator><description>&lt;p&gt;Thanks for this. Like others have mentioned I had to add $OpenFileDialog.ShowHelp = $true to get it to work properly. &amp;nbsp;I&amp;#39;ve added this to my list of powershell functions for getting input from the user via a GUI (&lt;a rel="nofollow" target="_new" href="http://blog.danskingdom.com/powershell-multi-line-input-box-dialog-open-file-dialog-folder-browser-dialog-input-box-and-message-box/"&gt;blog.danskingdom.com/powershell-multi-line-input-box-dialog-open-file-dialog-folder-browser-dialog-input-box-and-message-box&lt;/a&gt;).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573435" width="1" height="1"&gt;</description></item><item><title>re: Change Virtual Machine Network Configuration with PowerShell</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2013/05/17/change-virtual-machine-network-configuration-with-powershell.aspx#3573293</link><pubDate>Fri, 17 May 2013 07:16:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573293</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;Clarification:&lt;/p&gt;
&lt;p&gt;Works same on Windows 8. &lt;/p&gt;
&lt;p&gt;Windows Server 2012 runs virtual on Windows 8. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573293" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! How Can I Receive All Windows PowerShell Jobs?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/03/18/hey-scripting-guy-march-18-2010.aspx#3573150</link><pubDate>Thu, 16 May 2013 15:21:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573150</guid><dc:creator>Fabio Tramacere</dc:creator><description>&lt;p&gt;I have adapted your script for a zip operation and it works perfectly !&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;
&lt;p&gt;$ZipJob = Start-Job -ScriptBlock {&lt;/p&gt;
&lt;p&gt;if (-not (test-path &amp;quot;$env:ProgramFiles\7-Zip\7z.exe&amp;quot;))&lt;/p&gt;
&lt;p&gt;	{throw &amp;quot;$env:ProgramFiles\7-Zip\7z.exe needed&amp;quot;}&lt;/p&gt;
&lt;p&gt;	set-alias sz &amp;quot;$env:ProgramFiles\7-Zip\7z.exe&amp;quot;&lt;/p&gt;
&lt;p&gt;	$FolderPath = &amp;quot;C:\LPS\Logs\CAS-Server&amp;quot;&lt;/p&gt;
&lt;p&gt;	sz a -t7z &amp;quot;C:\LPS\Logs\Test.zip&amp;quot; $FolderPath&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;$complete = $false&lt;/p&gt;
&lt;p&gt;while (-not $complete)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;	$ZipJobProgress= $ZipJob | ?{$_.State -match &amp;#39;Running&amp;#39;}&lt;/p&gt;
&lt;p&gt;	if (-not $ZipJobProgress){&amp;quot;Zip operation completed&amp;quot;;$complete=$true}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573150" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Copy Files and Folders to a New Location</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2013/04/19/use-powershell-to-copy-files-and-folders-to-a-new-location.aspx#3573029</link><pubDate>Thu, 16 May 2013 03:33:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573029</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;@snarf -&lt;/p&gt;
&lt;p&gt;You know that is not really true. &amp;nbsp;The link you posted seems to prove that.&lt;/p&gt;
&lt;p&gt;If we use the \\?\&amp;lt;drive&amp;gt;\&amp;lt;path&amp;gt; method ther is no issue.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573029" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Copy Files and Folders to a New Location</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2013/04/19/use-powershell-to-copy-files-and-folders-to-a-new-location.aspx#3572925</link><pubDate>Wed, 15 May 2013 17:30:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572925</guid><dc:creator>Snarf</dc:creator><description>&lt;p&gt;@Lionel, Microsoft doesn&amp;#39;t really support long file names and paths. They&amp;#39;ve just hacked Windows so it feels like it does to the average user. &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/b/bclteam/archive/2007/02/13/long-paths-in-net-part-1-of-3-kim-hamilton.aspx"&gt;blogs.msdn.com/.../long-paths-in-net-part-1-of-3-kim-hamilton.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572925" width="1" height="1"&gt;</description></item><item><title>re: How Can I Get a List of All the Users Whose Passwords Never Expire?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/08/29/how-can-i-get-a-list-of-all-the-users-whose-passwords-never-expire.aspx#3572908</link><pubDate>Wed, 15 May 2013 15:51:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572908</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;LDAP searches the Path specified:&lt;/p&gt;
&lt;p&gt;objCommand.CommandText = _&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;quot;&amp;lt;LDAP://ou=someou,dc=fabrikam,dc=com&amp;gt;;&amp;quot; &amp;amp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572908" width="1" height="1"&gt;</description></item><item><title>re: How Can I Get a List of All the Users Whose Passwords Never Expire?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/08/29/how-can-i-get-a-list-of-all-the-users-whose-passwords-never-expire.aspx#3572902</link><pubDate>Wed, 15 May 2013 15:25:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572902</guid><dc:creator>Nanda</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for all, is it possible to get the password expiry Yes\No for the users who are in one particular OU.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Nanda&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572902" width="1" height="1"&gt;</description></item><item><title>re: PowerTip: Use PowerShell to Show Screensaver Info for Logged-on User</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2013/05/14/powertip-use-powershell-to-show-screensaver-info-for-logged-on-user.aspx#3572900</link><pubDate>Wed, 15 May 2013 15:10:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572900</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;Sorry - my paste didn&amp;#39;t paste:&lt;/p&gt;
&lt;p&gt;Get-Wmiobject win32_desktop -filter &amp;quot;name like &amp;#39;%$env:USERNAME&amp;#39;&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572900" width="1" height="1"&gt;</description></item></channel></rss>