Adding yourself to the Hyper-V Administrators group with PowerShell

I am currently setting up a couple of new computers – and thought I would share this little tidbit of information.  As I have  blogged in the past, you do not need to run “As Administrator” to use Hyper-V PowerShell cmdlets.  You just have to be a member of the Hyper-V Administrators group. Well –… Read more

Hyper-V PowerShell One-Line-Challenge

While digging through my notes I came across an exchange between a colleague and I – where we were challenging each other to come up with the most impressive (and functional) “Hyper-V PowerShell One Liner”.  Here is an example of a good one: Get-Volume | ?{$_.DriveLetter -ne $null} | select @{N=’Drive Letter’;E={$_.DriveLetter}},@{N=’Free Space (GB)’;E={“{0:N2}” -f… Read more

Automating WIM2VHD

tweetmeme_url = ‘http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/06/23/automating-wim2vhd.aspx’; As I mentioned yesterday – I have been working on a completely automated virtual machine build process that does not use templates (but build everything from scratch).  One of the key tools that I have been using for this process is WIM2VHD – which allows me to generate new VHD files directly… Read more

The real “legacy” network adapter

tweetmeme_url = ‘http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/04/18/the-real-legacy-network-adapter.aspx’; Over the years I have made a hobby of collecting real copies of the hardware that we emulate inside of our virtual machines.  And this is one of my favorites – the quad-port Intel 21140 network adapter: One of the interesting problems that we hit while working on Virtual Server was: How… Read more

Shutting down a virtual machine

tweetmeme_url = ‘http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/01/11/shutting-down-a-virtual-machine.aspx’; What happens when you use the Virtual PC / Virtual Server / Hyper-V user interface to shut down a virtual machine? At the simplest level – we send a message over to the virtual machine that asks the guest operating system to shut down, and then we wait. But this is where… Read more

Turning off a virtual machine

tweetmeme_url = ‘http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/01/10/turning-off-a-virtual-machine.aspx’; Virtual PC, Virtual Server and Hyper-V all have a simple command to “Turn off” a running virtual machine. Unfortunately, it is one that causes us a bit of consternation when we look at it with usability and user friendliness in mind. A long time ago (just over 10 years ago) most computers… Read more

What physical computer am I on?

tweetmeme_url = ‘http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/01/07/what-physical-computer-am-i-on.aspx’; Once you start to get more and more virtual machines, and more and more Hyper-V servers, in your environment it can get quite hard to keep track of where a specific virtual machine is actually running. System Center Virtual Machine Manager can help you out here – but what if you are… Read more

Loading the Virtual Server SCSI Shunt Driver on Vista & Windows Server 2008 VMs during installation

tweetmeme_url = ‘http://blogs.msdn.com/virtual_pc_guy/archive/2010/05/20/loading-the-virtual-server-scsi-shunt-driver-on-vista-windows-server-2008-vms-during-installation.aspx’; Unlike Hyper-V, Virtual Server allows you to boot a virtual machine off of a SCSI disk.  Unfortunately – in some configurations (like mine) this can cause the initial operating system installation to be very slow – unless you load the Virtual Server SCSI Shunt driver during installation. For Windows NT, Windows 2000,… Read more