<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://winserverteam.org.uk/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>Search results matching tags 'Windows Vista' and 'Windows'</title><link>http://winserverteam.org.uk/search/SearchResults.aspx?o=DateDescending&amp;tag=Windows+Vista,Windows&amp;orTags=0</link><description>Search results matching tags 'Windows Vista' and 'Windows'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Burn CD's and DVDs with Powershell</title><link>http://winserverteam.org.uk/blogs/austin/archive/2007/11/02/burn-cd-s-and-dvds-with-powershell.aspx</link><pubDate>Fri, 02 Nov 2007 21:47:00 GMT</pubDate><guid isPermaLink="false">2f64b580-8b3f-461a-8545-1e65ae7cb030:80</guid><dc:creator>Austin</dc:creator><description>&lt;p&gt;Included with Microsoft Vista is a new API for scripting against optical drives; the Image Mastering API version 2 or IMAPI2. This makes it possible to retrieve information from optical&amp;nbsp;storage media&amp;nbsp;like CDs and DVDs and write to them.&lt;/p&gt;
&lt;p&gt;The story around the IMAPI and what you can do with it can be found on &lt;a href="http://msdn2.microsoft.com/en-us/library/aa366450.aspx" target="_blank"&gt;msdn&lt;/a&gt; but what brought it to my attention was the &lt;a href="http://www.microsoft.com/technet/scriptcenter/topics/imapi/imapi2-2.mspx#EYH" target="_blank"&gt;Scriptcenter&lt;/a&gt; newsletter this week where a VB sample of how to burn CDs/DVDs using the Image Mastering API was described. Yep, if we can do it with VB there&amp;#39;s got to be a PoSHer way to do the same thing so I gave it a go and over&amp;nbsp;a couple of hours&amp;nbsp;managed to get my version to work.&lt;/p&gt;
&lt;p&gt;Who needs ISO burning tools anymore ay? Roll your own!&lt;/p&gt;
&lt;p&gt;My modification of the&amp;nbsp;script accepts one argument which is the path to the ISO file and it barfs if a wrong path is given.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The assumption is that the CD/DVD writer is first optical drive on the system (If it&amp;#39;s not, change the msftdiscMaster2&amp;nbsp;index&amp;nbsp;used&amp;nbsp;in the msftdiscrecorder2&amp;nbsp;initializedrecorder method&amp;nbsp;). &lt;/p&gt;
&lt;p&gt;Minor error checking has been thrown in to ensure a valid path to an ISO file is provided and that the disc is blank.&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;param(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [string]$path = $( throw &amp;quot;Please Specify path to an ISO file&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;br /&gt;&lt;em&gt;&lt;font color="#00ff00"&gt;# Set binary file type&lt;/font&gt;&lt;/em&gt;&lt;br /&gt;Set-Variable -name adFileTypeBinary -value 1 -option Constant 
&lt;p&gt;&lt;font color="#00ff00"&gt;&lt;em&gt;# Test if path exists else fail&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;if (Test-Path -path $path -isValid)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $isoFile = $path 
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;font color="#00ff00"&gt;# Create disc master to burn to optical drives&lt;/font&gt;&lt;/em&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obm = New-Object -comobject &amp;quot;imapi2.msftdiscMaster2&amp;quot; 
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#00ff00"&gt;&lt;em&gt; # Create a DiscRecorder object for the specified burning device&lt;br /&gt;&lt;/em&gt;&lt;/font&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obr = New-Object -comobject &amp;quot;imapi2.msftdiscrecorder2&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obr.initializediscrecorder( $obm.item(0) )&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $dataWriter = New-Object -comobject &amp;quot;IMAPI2.MsftDiscFormat2Data&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $dataWriter.Recorder = $obr&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $dataWriter.ClientName = &amp;quot;ISOTest1&amp;quot; 
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;font color="#00ff00"&gt;# Write stream to disc using the specified recorder&lt;/font&gt;&lt;/em&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host &amp;quot;Writing to disc...&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $objStream = New-Object -comobject &amp;quot;ADODB.Stream&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $objStream.open()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $objStream.type = $adFileTypeBinary&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $objStream.LoadFromFile( &amp;quot;$isoFile&amp;quot; ) 
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&lt;font color="#00ff00"&gt;# Check disk is blank else fail&lt;/font&gt;&lt;/em&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $addr = $dataWriter.NextWritableAddress&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( $addr = &amp;quot;0&amp;quot;&amp;nbsp; )&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $dataWriter.Write( $objStream )&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host &amp;quot;Done&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host &amp;quot;Cannot write to disk&amp;quot; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;p&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host &amp;quot;A valid ISO file was not found&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&lt;p&gt;--------------------------------------------------------------------------------------- 
&lt;p&gt;The Scriptcenter site shows other examples in VB and they can all be converted to Powershell with very little effort. 
&lt;p&gt;Binaries for for versions of IMAPIv2 for other platforms can be obtained here: 
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=1&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3db5f726f1-4ace-455d-bad7-abc4dd2f147b%26DisplayLang%3den"&gt;Image Mastering API v2.0 for Windows XP&lt;/a&gt; 
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=2&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3dfe4770f5-91fa-4390-920a-f4d45c67923c%26DisplayLang%3den"&gt;Image Mastering API v2.0 for Windows Sever 2003&lt;/a&gt; 
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=3&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d5b91629c-3150-47c0-b4ee-de18dd30a61c%26DisplayLang%3den"&gt;Image Mastering API v2.0 for Windows XP x64 Edition&lt;/a&gt; 
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=4&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d316584fa-a268-4208-9050-137f59de89e9%26DisplayLang%3den"&gt;Image Mastering API v2.0 for Windows Server 2003 x64 Edition&lt;/a&gt;&lt;/p&gt;</description></item><item><title>TechEd IT Forum In Barcelona</title><link>http://winserverteam.org.uk/blogs/austin/archive/2007/10/26/teched-it-forum-in-barcelona.aspx</link><pubDate>Fri, 26 Oct 2007 19:42:26 GMT</pubDate><guid isPermaLink="false">2f64b580-8b3f-461a-8545-1e65ae7cb030:73</guid><dc:creator>Austin</dc:creator><description>&lt;p&gt;&lt;a href="http://www.mseventseurope.com/teched/07/itforum/content/pages/default.aspx"&gt;&lt;img height="128" alt="logo_people7" src="http://winserverteam.org.uk/blogs/austin/WindowsLiveWriter/TechEdITForumInBarcelona_12330/logo_people7_1.gif" width="168" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Anyone visiting my blog who&amp;#39;s&amp;nbsp;going to be at TechEd in Barcelona from the 12th - 16th of November, do let me know. I&amp;#39;ll be there and looking forward to another exciting week learning stuff and trading &amp;quot;war stories&amp;quot; with&amp;nbsp;my kinda geeks!&lt;/p&gt; &lt;p&gt;Guys not to miss at TechEd, in my opinion, Markus Murray of &lt;a href="http://www.truesec.com/en/default.htm"&gt;Trusec&lt;/a&gt;&amp;nbsp;and of course Mr &lt;a href="http://blogs.technet.com/steriley/default.aspx"&gt;Steve Riley&lt;/a&gt;. These guys&amp;nbsp;run their sessions in ways that keep&amp;nbsp;you interested and always happy you attended.&amp;nbsp;Always standing space only too so be sure to be early for the sessions ;-)&lt;/p&gt; &lt;p&gt;PING me and hope to see you there.&lt;/p&gt;</description></item><item><title>Windows System State Analyzer Tool</title><link>http://winserverteam.org.uk/blogs/austin/archive/2007/08/27/windows-system-state-analyze-tool.aspx</link><pubDate>Mon, 27 Aug 2007 15:07:00 GMT</pubDate><guid isPermaLink="false">2f64b580-8b3f-461a-8545-1e65ae7cb030:54</guid><dc:creator>Austin</dc:creator><description>&lt;p&gt;A real cool tool I stumbled on this holiday weekend is the Windows System State Analyzer tool used to validate system configurations and verify server application/driver compliance for the &lt;a href="http://www.innovateonwindowsserver.com/learnbuild.aspx" target="_blank"&gt;Windows Server 2008 logo and certification program&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The tool takes a snapshot of&amp;nbsp;a system which includes fixed drives, services, drivers and the registry. Users can create two snapshots at different points in time and compare them to view differences.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://winserverteam.org.uk/blogs/austin/WindowsLiveWriter/WindowsSystemStateAnalyzeTool_E295/image_1.png"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="180" alt="image" src="http://winserverteam.org.uk/blogs/austin/WindowsLiveWriter/WindowsSystemStateAnalyzeTool_E295/image_thumb_1.png" width="240" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The tool requires version 2 of the .Net Framework and Windows Installer 3.0 &lt;/p&gt;
&lt;p&gt;I used it to Identify how an application modified a Windows 2000 Terminal Server and the files and services added. The detailed difference report is generated and exported as a HTML file:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://winserverteam.org.uk/blogs/austin/WindowsLiveWriter/WindowsSystemStateAnalyzeTool_E295/image_3.png"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="147" alt="image" src="http://winserverteam.org.uk/blogs/austin/WindowsLiveWriter/WindowsSystemStateAnalyzeTool_E295/image_thumb_3.png" width="240" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This tool can also be used to&amp;nbsp;determine the variance of Servers from a known baseline where it is necessary to ensure they are all identical and it will show where the deltas are.&lt;/p&gt;
&lt;p&gt;Neat!!&lt;/p&gt;</description></item><item><title>Vista Compatibility and reliability Updates</title><link>http://winserverteam.org.uk/blogs/austin/archive/2007/08/09/vista-compatibility-and-reliability-updates.aspx</link><pubDate>Thu, 09 Aug 2007 14:21:00 GMT</pubDate><guid isPermaLink="false">2f64b580-8b3f-461a-8545-1e65ae7cb030:39</guid><dc:creator>Austin</dc:creator><description>&lt;p&gt;For those running Vista, Microsoft has released some performance related updates which might fix some startup and hibernation issues you might be experiencing:&lt;/p&gt; &lt;p&gt;An update is available that improves the compatibility and reliability of Windows Vista  &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/938194"&gt;http://support.microsoft.com/kb/938194&lt;/a&gt;  &lt;p&gt;An update is available that improves the performance and reliability of Windows Vista  &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/938979"&gt;http://support.microsoft.com/kb/938979&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>