<?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>Matthijs's blog - All Comments</title><link>http://blogs.technet.com/b/matthts/</link><description>Virtualization tools and stuff.
By Matthijs ten Seldam</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Managing Hyper-V Replica from PowerShell</title><link>http://blogs.technet.com/b/matthts/archive/2012/04/02/managing-hyper-v-replica-from-powershell.aspx#3571902</link><pubDate>Fri, 10 May 2013 12:27:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3571902</guid><dc:creator>Stephen Rickels</dc:creator><description>&lt;p&gt;Brilliant. This was the exact information I needed to answer a number of questions and form a clear uderstanding. Thanks for shharing the information.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3571902" width="1" height="1"&gt;</description></item><item><title>re: Configuring Kerberos Constrained Delegation for Hyper-V Management</title><link>http://blogs.technet.com/b/matthts/archive/2012/06/10/configuring-kerberos-constrained-delegation-for-hyper-v-management.aspx#3564380</link><pubDate>Tue, 09 Apr 2013 16:04:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3564380</guid><dc:creator>G Feng</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Is mgmt1 in the domain? What happens if it is not a domain machine?&lt;/p&gt;
&lt;p&gt;For example mgmt1 is not domain machine , run migration via WEB Scripting Locator from any language such as java, python and powershell scripts.&lt;/p&gt;
&lt;p&gt;G Feng &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3564380" width="1" height="1"&gt;</description></item><item><title>re: WakeUp-Machines – A PowerShell script for Wake On LAN</title><link>http://blogs.technet.com/b/matthts/archive/2012/06/02/wakeup-machines-a-powershell-script-for-wake-on-lan.aspx#3561876</link><pubDate>Fri, 29 Mar 2013 20:40:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3561876</guid><dc:creator>Debbie</dc:creator><description>&lt;p&gt;Trying to find a way to WOL via a specific port. &amp;nbsp;We have an issue at some of our locations with the default port. &amp;nbsp;Want to use one we know is open. &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3561876" width="1" height="1"&gt;</description></item><item><title>re: WakeUp-Machines – A PowerShell script for Wake On LAN</title><link>http://blogs.technet.com/b/matthts/archive/2012/06/02/wakeup-machines-a-powershell-script-for-wake-on-lan.aspx#3561212</link><pubDate>Wed, 27 Mar 2013 00:29:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3561212</guid><dc:creator>Caroline</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am totally new to all this scripting business.&lt;/p&gt;
&lt;p&gt;I would like to automate this script, ie run it without any input from me. So far, I have found a batch script that will run it without having to input the csv filename but I can&amp;#39;t get it to automate so that I don&amp;#39;t need to type in text to send as the wake up call. How can I do this?&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;Caroline&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3561212" width="1" height="1"&gt;</description></item><item><title>re: Competitive Advantages of Windows Server 2012 Hyper-V over VMware vSphere 5.1</title><link>http://blogs.technet.com/b/matthts/archive/2012/09/07/competitive-advantages-of-windows-server-2012-hyper-v-over-vmware-vsphere-5-1.aspx#3552450</link><pubDate>Thu, 14 Feb 2013 09:47:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3552450</guid><dc:creator>Jean</dc:creator><description>&lt;p&gt;Yes, 8000 VM&amp;#39;s in a cluster!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3552450" width="1" height="1"&gt;</description></item><item><title>re: Competitive Advantages of Windows Server 2012 Hyper-V over VMware vSphere 5.1</title><link>http://blogs.technet.com/b/matthts/archive/2012/09/07/competitive-advantages-of-windows-server-2012-hyper-v-over-vmware-vsphere-5-1.aspx#3552448</link><pubDate>Thu, 14 Feb 2013 09:42:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3552448</guid><dc:creator>jain</dc:creator><description>&lt;p&gt;8000 cluster???&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3552448" width="1" height="1"&gt;</description></item><item><title>re: VMRCplus 1.8.0 is available</title><link>http://blogs.technet.com/b/matthts/archive/2008/06/14/vmrcplus-1-8-0-is-available.aspx#3552386</link><pubDate>Thu, 14 Feb 2013 00:58:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3552386</guid><dc:creator>Imran</dc:creator><description>&lt;p&gt;I am facing the same issue as JMFreeman. Anyone come up with a solution?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3552386" width="1" height="1"&gt;</description></item><item><title>re: VMC to Hyper-V Import Tool Available</title><link>http://blogs.technet.com/b/matthts/archive/2008/09/12/vmc-to-hyper-v-import-tool-available.aspx#3546728</link><pubDate>Fri, 18 Jan 2013 16:09:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3546728</guid><dc:creator>Pedro</dc:creator><description>&lt;p&gt;This doesn&amp;#39;t work for Hyper-V in windows 8. Why didn&amp;#39;t microsoft provided a tool for us to migrate our Virtual machines to Hyper-V ? Now I can&amp;#39;t install Virtual PC in my Windows 8 and I can&amp;#39;t import my ancient virtual PC machines into Hyper-V. GREAT!!!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3546728" width="1" height="1"&gt;</description></item><item><title>re: WakeUp-Machines – A PowerShell script for Wake On LAN</title><link>http://blogs.technet.com/b/matthts/archive/2012/06/02/wakeup-machines-a-powershell-script-for-wake-on-lan.aspx#3545602</link><pubDate>Sun, 13 Jan 2013 23:50:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3545602</guid><dc:creator>2Keep4U</dc:creator><description>&lt;p&gt;( 2 / 2 )&lt;/p&gt;
&lt;p&gt;&amp;lt;# ---- For security reason, the code is fully commented ----&lt;/p&gt;
&lt;p&gt;# Verify if we support IPv6 or IPv4&lt;/p&gt;
&lt;p&gt;if([System.Net.Sockets.Socket]::OSSupportsIPv6)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Write-Output &amp;quot;Your system supports IPv6&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# Create a new communication channel using the UDP protocol&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$netUDPClient = New-Object System.Net.Sockets.UdpClient([System.Net.Sockets.AddressFamily]::InterNetworkV6)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# Connect to the network using port 9 (this is the standard for WOL) on the multicast &amp;quot;All routers&amp;quot; address&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# To send to multicast address &amp;quot;All hosts&amp;quot;, use address &amp;quot;FF02::1&amp;quot; instead&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$netUDPClient.Connect([System.Net.IPAddress]::Parse(&amp;quot;FF02::2&amp;quot;), 9)&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;elseif([System.Net.Sockets.Socket]::OSSupportsIPv4)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Write-Output &amp;quot;Your system supports IPv4&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# Create a new communication channel using the UDP protocol&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$netUDPClient = New-Object System.Net.Sockets.UdpClient([System.Net.Sockets.AddressFamily]::InterNetwork)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# Connect to the network using port 9 (this is the standard for WOL) on the broadcast address&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$netUDPClient.Connect(([System.Net.IPAddress]::Broadcast),9) &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Throw &amp;quot;ERROR: Neither IPv4, nor IPv6 are supported !&amp;quot;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;# Send the magic packet to the network&lt;/p&gt;
&lt;p&gt;[void]$netUDPClient.Send($szPacket, $szPacket.Length)&lt;/p&gt;
&lt;p&gt;# Release managed and unmanaged resources&lt;/p&gt;
&lt;p&gt;[void]$netUDPClient.Dispose()&lt;/p&gt;
&lt;p&gt;# Remove used variables&lt;/p&gt;
&lt;p&gt;Remove-Variable netUDPClient, szPacket, szMACAddress&lt;/p&gt;
&lt;p&gt; &amp;nbsp; ---- For security reason, the code is fully commented ----&lt;/p&gt;
&lt;p&gt;#&amp;gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Didier&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3545602" width="1" height="1"&gt;</description></item><item><title>re: WakeUp-Machines – A PowerShell script for Wake On LAN</title><link>http://blogs.technet.com/b/matthts/archive/2012/06/02/wakeup-machines-a-powershell-script-for-wake-on-lan.aspx#3545601</link><pubDate>Sun, 13 Jan 2013 23:49:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3545601</guid><dc:creator>2Keep4U</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Another script for Wake On LAN (WOL). Supports both IPv4 and IPv6. Can be enhanced with a lot of other features such as reading files and user input. Works on my home network, but not tested on a more complex environment. If you test it, please share feedback. Thanks.&lt;/p&gt;
&lt;p&gt;&amp;lt;# ---- For security reason, the code is fully commented ----&lt;/p&gt;
&lt;p&gt;# Consider also possibility to read / parse an external file, or a user interface to collect addresses&lt;/p&gt;
&lt;p&gt;# Consider possibility to read from ARP tables, DHCP routing tables, DNS lists, Domain Controller, etc.&lt;/p&gt;
&lt;p&gt;&amp;lt;#&lt;/p&gt;
&lt;p&gt;$szMACAddress = [string]&amp;quot;AA-BB-CC-DD-EE-FF&amp;quot;&lt;/p&gt;
&lt;p&gt;$szMACAddress = [string]&amp;quot;AA:BB:CC:DD:EE:FF&amp;quot;&lt;/p&gt;
&lt;p&gt;$szMACAddress = [string]&amp;quot;AA BB CC DD EE FF&amp;quot;&lt;/p&gt;
&lt;p&gt;$szMACAddress = [string]&amp;quot;AABBCCDDEEFF&amp;quot;&lt;/p&gt;
&lt;p&gt;#&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;# ---- For security reason, the code is fully commented ----&lt;/p&gt;
&lt;p&gt;$szMACAddress = [string]&amp;quot;AA-BB-CC-DD-EE-FF&amp;quot;&lt;/p&gt;
&lt;p&gt;# The &amp;quot;Magic Packet&amp;quot; starts with six pairs of 0xFF values&lt;/p&gt;
&lt;p&gt;[Byte[]]$szPacket = [Byte[]] (,0xFF * 6)&lt;/p&gt;
&lt;p&gt;# MAC addresses are defined by six pairs of hexadecimal values that could be separated by a dash (-),&lt;/p&gt;
&lt;p&gt;# a column (:), or a space ( ); the address could be also twelve hexadecimal values without separator&lt;/p&gt;
&lt;p&gt;if([Regex]::IsMatch($szMACAddress, &amp;#39;[A-Fa-f0-9]{2}\p{Pd}[A-Fa-f0-9]{2}\p{Pd}[A-Fa-f0-9]{2}\p{Pd}[A-Fa-f0-9]{2}\p{Pd}[A-Fa-f0-9]{2}\p{Pd}[A-Fa-f0-9]{2}&amp;#39;))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# MAC address has the form &amp;#39;xx-xx-xx-xx-xx-xx&amp;#39;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$szPacket += (($szMACAddress.split(&amp;#39;-&amp;#39;) | foreach {[byte] (&amp;#39;0x&amp;#39; + $_)}) * 16)&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;elseif([Regex]::IsMatch($szMACAddress, &amp;#39;[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}&amp;#39;))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# MAC address has the form &amp;#39;xx:xx:xx:xx:xx:xx&amp;#39;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$szPacket += (($szMACAddress.split(&amp;#39;:&amp;#39;) | foreach {[byte] (&amp;#39;0x&amp;#39; + $_)}) * 16)&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;elseif([Regex]::IsMatch($szMACAddress, &amp;#39;[A-Fa-f0-9]{2} [A-Fa-f0-9]{2} [A-Fa-f0-9]{2} [A-Fa-f0-9]{2} [A-Fa-f0-9]{2} [A-Fa-f0-9]{2}&amp;#39;))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# MAC address has the form &amp;#39;xx xx xx xx xx xx&amp;#39;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$szPacket += (($szMACAddress.split(&amp;#39; &amp;#39;) | foreach {[byte] (&amp;#39;0x&amp;#39; + $_)}) * 16)&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;elseif([Regex]::IsMatch($szMACAddress, &amp;#39;[A-Fa-f0-9]{12}&amp;#39;))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# MAC address has no separator between pairs of hexadecimal values&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$szPacket += for ($j = 0; $j -le 15; $j++) { for ($i = 0; $i -le ($szMACAddress.Length -1); $i += 2) {[byte] (&amp;#39;0x&amp;#39; + $szMACAddress[$i] + $szMACAddress[$i+1])}}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;# MAC address format is not recognized&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Throw &amp;quot;ERROR: MAC Address is not recognized !&amp;quot;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; ---- For security reason, the code is fully commented ----&lt;/p&gt;
&lt;p&gt;#&amp;gt;&lt;/p&gt;
&lt;p&gt;(1 / 2)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3545601" width="1" height="1"&gt;</description></item></channel></rss>