Tag Archive
Using PowerShell to find the virtual processor to logical processor ratio of Hyper-V
tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/08/13/using-powershell-to-find-the-virtual-processor-to-logical-processor-ratio-of-hyper-v.aspx'; For as long as I can remember – I have been talking to people about supported / optimal virtual processor to logical processor ratios with Hyper-V. Or – said with less technical jargon – how many virtual machines, with how many virtual processors, should you run on any given physical computer? ... »
Find out how much space is used / can be used by a virtual machines virtual hard disks [script]
After writing the script to find all virtual hard disks associated with a virtual machine – the next logical step was to answer some questions about these virtual hard disks. The two obvious questions that I could think of were: How much space is this virtual machine currently using? How much space can this virtual... »
Find all virtual hard disks associated with a virtual machine [script]
This is something that sounds really simple to start with – but gets more complicated the more you think about it. The question is: how do you identify all virtual hard disks that are associated with a given virtual machine? Your first response might be “you open the virtual machine settings and have a look... »
Talking about “Host-only KVPs”– or “How do you store random stuff in a VM configuration file” [Hyper-V Script]
tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/06/28/talking-about-host-only-kvps-or-how-do-you-store-random-stuff-in-a-vm-configuration-file-hyper-v-script.aspx'; Recently I have had a couple of different people approach me with this problem: They are developing software to manage / work with virtual machines – and they need a way to associate custom data with a virtual machine. The problem that they face is how to do... »
PowerShell Script to Register a bunch of Virtual Machines [Virtual PC]
When I was getting ready to head out to TechEd this week I copied a bunch of my Windows Virtual PC virtual machines onto a USB disk. 60 of them to be precise. But then I had the problem of how to get them all registered. Sure, you can register a virtual machine with Windows... »
Tip: Hyper-V + PowerShell + Chinese
tweetmeme_url = 'http://blogs.msdn.com/virtual_pc_guy/archive/2010/05/19/tip-hyper-v-powershell-chinese.aspx'; While not strictly virtualization related – I did stumble upon something interesting while working on my international WMI blog post yesterday. In that post I showed some examples of using PowerShell on a German system. I had originally intended to use Chinese for this post – but I encountered a problematic limitation... »
Handling international WMI clients / servers with Hyper-V
tweetmeme_url = 'http://blogs.msdn.com/virtual_pc_guy/archive/2010/05/18/handling-international-wmi-clients-servers-with-hyper-v.aspx'; If you ever try to run a WMI script / program against Hyper-V on a system that is using a language (or locale) different to your own – you may be surprised to see that a number of the properties are localized. This can cause problems if you are checking for language... »
Scripting Hyper-V: Using Associations – Part 2
tweetmeme_url = 'http://blogs.msdn.com/virtual_pc_guy/archive/2010/05/17/scripting-hyper-v-using-associations-part-2.aspx'; A while ago I posted about how to use WMI associations when scripting Hyper-V in order to increase the efficiency of your scripts. Today I would like to provide some new information – and some clarifications in response to questions that I have received. First – in the original post I... »
General Floppy script [Hyper-V]
tweetmeme_url = 'http://blogs.msdn.com/virtual_pc_guy/archive/2010/05/12/general-floppy-script-hyper-v.aspx'; Having written an “all-in-one” script for DVD media management with a Hyper-V virtual machine I figured I would take a look at what would be involved in doing the same sort of thing for floppy disks. For the most part this was as simple as doing a search and replace on the... »
General DVD script [Hyper-V]
tweetmeme_url = 'http://blogs.msdn.com/virtual_pc_guy/archive/2010/05/11/general-dvd-script-hyper-v.aspx'; After digging up and posting my script for connecting an ISO to a virtual machine last week – I decided to spend some time fleshing out that script into a more generic one that allows you to do anything “DVD related” that you could want to do with a virtual machine. I... »

![[Google]]( http://www.ccnetworking.com/wordpress/wp-content/plugins/easy-adsenser/google-light.gif)