<?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>Parsing an AuditPol.exe Report with Windows PowerShell 2.0</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/07/26/parsing-an-auditpol-exe-report-with-windows-powershell-2-0.aspx</link><description>Hey, Scripting Guy! I have been using AuditPol.exe to verify the audit policy that is configured on our network. The problem is that the report that is generated has a lot of text, and it is not easy to see exactly what is being audited or not. Is it</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Parsing an AuditPol.exe Report with Windows PowerShell 2.0</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/07/26/parsing-an-auditpol-exe-report-with-windows-powershell-2-0.aspx#3348127</link><pubDate>Tue, 03 Aug 2010 04:57:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3348127</guid><dc:creator>Pronichkin</dc:creator><description>&lt;p&gt;&amp;gt; I like to use the Windows PowerShell console to do this. In fact, I cannot remember the last time I opened an actual command prompt.&lt;/p&gt;
&lt;p&gt;Oh, I wish life always was that easy! Unfortunately, some apps behave weirdly when running from PowerShell. &lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a quick example. Ok, so you talked about LiveMeetng? Try to run this in PowerShell:&lt;/p&gt;
&lt;p&gt;.\msiexec.exe /a &amp;quot;C:\New folder\LMConsole.msi&amp;quot; targetdir=&amp;quot;C:\New folder (2)&amp;quot;&lt;/p&gt;
&lt;p&gt;(Don&amp;#39;t worry, it&amp;#39;s not going to install anything. The /a command actually “extracts” the contents of the MSI into a folder of your choice. Yes, you could take pretty any MSI for this exercise. But please use paths with spaces!).&lt;/p&gt;
&lt;p&gt;See? It doesn&amp;#39;t pass correct syntax to msiexec for some reaon! Even&lt;/p&gt;
&lt;p&gt;cmd /c msiexec.exe /a &amp;quot;C:\New folder\LMConsole.msi&amp;quot; targetdir=&amp;quot;C:\New folder (2)&amp;quot;&lt;/p&gt;
&lt;p&gt;will not work.&lt;/p&gt;
&lt;p&gt;But if you call exactly the same line from native cmd it works like a charm.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3348127" width="1" height="1"&gt;</description></item><item><title>re: Parsing an AuditPol.exe Report with Windows PowerShell 2.0</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/07/26/parsing-an-auditpol-exe-report-with-windows-powershell-2-0.aspx#3346803</link><pubDate>Mon, 26 Jul 2010 08:47:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3346803</guid><dc:creator>Windows PowerShell</dc:creator><description>&lt;p&gt;Ed Wilson and Craig Liebendorfer, Scripting Guys&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3346803" width="1" height="1"&gt;</description></item></channel></rss>