Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Virtual PC Guy's WebLog
Talking about virtualization at Microsoft (Virtual PC, Virtual Server and Windows virtualization).
This Blog
Email
Syndication
RSS 2.0
Atom 1.0
Search
Go
News
Welcome to the Blog of Ben Armstrong.
I am a Program manager on the core virtualization team at Microsoft. I will be talking about what I love and hate about our products here.
I also maintain a
personal blog
.
The standard Microsoft disclaimer applies to pretty much everything on this page:
"This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use."
Cheers,
Ben
Hyper-V Links
Virtually Vaira
John Howard's Virtualization Blog
Robert Larson's Virtualization Blog
rakeshm's VM Management Blog
Taylor Brown's Blog
The Official Hyper-V Website
Windows Virtualization Team Blog
MVP Sites
Steve Jain's website
What works on Virtual PC...
SCVMM Links
rakeshm's VM Management Blog
Jonathan's Virtual Blog - Thinking Outside the Physical Box
The Official SCVMM Website
Cheng's Random Thoughts on System Management
Virtual PC / Virtual Server Links
The Official Virtual Server Website
The Official Virtual PC Website
Tags
Developing on Virtual Server / Hyper-V
Gaming under Virtual PC
Hyper-V
MED-V
Operating Systems under Virtual PC / Virtual Server / Hyper-V
Personal
SCVMM
Tech / Microsoft Talk
Virtual PC / Server Tips 'n' Tricks
Windows 7
Windows Server 2008 R2
Windows Virtual PC
Windows XP Mode
Recent Posts
Creating Virtual Hard Disks with Windows Virtual PC
Virtualizing Windows Essential Business Server
Multiple Seamless Applications with Windows Virtual PC
SCOM 2007 Management Pack for Hyper-V now available
Disabling Integrated Mode in Windows Virtual PC
Archives
June 2009 (14)
May 2009 (2)
April 2009 (13)
March 2009 (15)
February 2009 (17)
January 2009 (22)
December 2008 (5)
November 2008 (7)
October 2008 (3)
September 2008 (10)
August 2008 (7)
July 2008 (7)
June 2008 (11)
May 2008 (8)
April 2008 (10)
March 2008 (18)
February 2008 (10)
January 2008 (19)
December 2007 (11)
November 2007 (12)
October 2007 (5)
September 2007 (13)
August 2007 (3)
July 2007 (14)
June 2007 (14)
May 2007 (12)
April 2007 (23)
March 2007 (19)
February 2007 (7)
January 2007 (15)
December 2006 (4)
November 2006 (9)
October 2006 (19)
September 2006 (15)
August 2006 (11)
July 2006 (19)
June 2006 (13)
May 2006 (26)
April 2006 (22)
March 2006 (23)
February 2006 (22)
January 2006 (18)
December 2005 (1)
November 2005 (19)
October 2005 (20)
September 2005 (15)
August 2005 (19)
July 2005 (18)
June 2005 (17)
May 2005 (19)
April 2005 (18)
March 2005 (18)
February 2005 (20)
January 2005 (18)
December 2004 (20)
November 2004 (20)
October 2004 (16)
Developing on Virtual Server / Hyper-V
(RSS)
Information about how to use Virtual Server's COM and Hyper-V's WMI APIs to do interesting things
Thursday, March 12, 2009 2:41 AM
Scripting Hyper-V: Using Associations
I would like to take a moment to talk about some “scripting technique” for how to get the best results out of your code. With our WMI interfaces there are often multiple ways to get results, but some are more efficient than others. Let’s say
Posted by
Virtual PC Guy
|
0 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Monday, March 02, 2009 8:35 PM
Script: Creating an internal virtual network with Hyper-V – Plus…
Almost two weeks ago I posted a script for creating an internal virtual network , and today I would like to revisit it and extend it. As I prefer to use core installations of Windows Server whenever possible – but this can make it a pain to configure
Posted by
Virtual PC Guy
|
4 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Thursday, February 19, 2009 12:54 PM
Script: Creating an external-only virtual network with Hyper-V
Okay, last script for the week. Creating an external-only virtual network (one without a connection in the parent partition). VBScript: option explicit Dim HyperVServer Dim SwitchFriendlyName Dim TypeLib Dim SwitchName Dim ExternalSwitchPortFriendlyName
Posted by
Virtual PC Guy
|
1 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Thursday, February 19, 2009 12:27 AM
Script: Creating an external virtual network with Hyper-V
Moving on with the series, we arrive at creating an external virtual network. VBScript: option explicit Dim HyperVServer Dim SwitchFriendlyName Dim TypeLib Dim SwitchName Dim InternalEthernetPortFriendlyName Dim InternalSwitchPortFriendlyName Dim InternalSwitchPortName
Posted by
Virtual PC Guy
|
0 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Tuesday, February 17, 2009 11:58 PM
Script: Creating an internal virtual network with Hyper-V
Moving on from yesterdays script (which showed you how to create a private virtual network) let’s look at creating an internal virtual network via a script. An internal virtual network is one that is not connected to a physical network adapter –
Posted by
Virtual PC Guy
|
0 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Monday, February 16, 2009 5:29 PM
Script: Creating a private virtual network with Hyper-V
I spent a bunch of time scripting virtual networks under Hyper-V over the weekend – so this week I am going to share some of my scripts. The first one is a simple one: it creates a private – or “virtual machine only” – virtual network. VBScript:
Posted by
Virtual PC Guy
|
0 Comments
Filed under:
Developing on Virtual Server / Hyper-V
,
Hyper-V
Friday, December 05, 2008 12:07 AM
Enumerating parent KVP data
As I mentioned on Tuesday, when you send data to a virtual machine using KVPs they are then stored in a collection on the parent side to be pushed into the virtual machine whenever it starts up. After sending a KVP you can then enumerate the KVPs
Posted by
Virtual PC Guy
|
0 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Tuesday, December 02, 2008 12:00 AM
Sending data from parent to virtual machine via KVP
Last week I showed you how to gather information about the guest operating system running in a virtual machine by using the key-value pair functionality of Hyper-V. This week I would like to drill into how to send information from the parent to the virtual
Posted by
Virtual PC Guy
|
0 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Tuesday, November 18, 2008 1:29 AM
Hyper-V Script: Looking at KVP GuestIntrinsicExchangeItems
You may wonder what that title is about, so let me pause to explain things a little. One of the Integration Components that gets installed inside the virtual machine with Hyper-V is the "KVP" component - which stands for "Key Value
Posted by
Virtual PC Guy
|
1 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Tuesday, September 30, 2008 12:20 AM
Hyper-V: Scripting Fixed VHD Creation
This script is practically identically to the one for creating a dynamically expanding virtual hard disk . The big thing to be aware of is that creation of a fixed size virtual hard disk takes a lot longer - so you need to make sure you handle the
Posted by
Virtual PC Guy
|
3 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Thursday, September 25, 2008 10:52 PM
Hyper-V: Scripting Dynamic VHD Creation
Today I would like to show you some basic scripts for creating a new dynamically expanding virtual hard disk. The tricky thing about doing this is that the WMI interfaces for creating virtual hard disks expect the size of the new virtual hard disk
Posted by
Virtual PC Guy
|
2 Comments
Filed under:
Developing on Virtual Server / Hyper-V
Thursday, July 10, 2008 12:18 AM
PowerShell Management Library for Hyper-V
James O'Neill posts here: http://hypervoria.com/hyper-v/hyper-v-powershell-library-now-on-codeplex.aspx to let us know that he has provided a PowerShell Management Library for Hyper-V available here: http://www.codeplex.com/PSHyperv Cheers, Ben
Posted by
Virtual PC Guy
|
1 Comments
Filed under:
Developing on Virtual Server / Hyper-V
,
Hyper-V
Wednesday, June 11, 2008 9:33 AM
Hyper-V Script: Compact VHD
Continuing on with my walk through the storage WMI API - here are some scripts for compacting VHDs with Hyper-V. Note that Hyper-V allows you to compact both differencing and dynamically expanding virtual hard disks. PowerShell: # Prompt for the
Posted by
Virtual PC Guy
|
4 Comments
Filed under:
Developing on Virtual Server / Hyper-V
,
Hyper-V
Monday, June 09, 2008 11:55 PM
Hyper-V Script: Validate VHD
Hyper-V provides a handy scripting interface that allows you to validate a virtual hard disk. You can use this for two main purposes: To confirm that a standard VHD file is correctly structured and not corrupted. To confirm that a differencing disk
Posted by
Virtual PC Guy
|
0 Comments
Filed under:
Developing on Virtual Server / Hyper-V
,
Hyper-V
Wednesday, May 28, 2008 12:37 AM
Scripting VM Creation with Hyper-V
People have been bugging me for this for a while - so here we go. Here are the VBScripts / PowerShell scripts to create a basic virtual machine: VBScript: Option Explicit Dim HyperVServer Dim VMName Dim WMIService Dim VSManagementService Dim VSGlobalSettingData
Posted by
Virtual PC Guy
|
5 Comments
Filed under:
Developing on Virtual Server / Hyper-V
,
Hyper-V
More Posts
Next page »