page hit counter
Welcome to MSDN Blogs Sign in | Join | Help

Taylor Brown's Blog

Test Lead for Windows Core OS Division on the Hyper-V Team.

Syndication

News

Welcome to the professional blog of Taylor Brown.  I am a test lead on the core virtualization team (Hyper-V) at Microsoft.

This blog will contain information about virtualization, Microsoft, Hyper-V, operating systems, testing, and whatever else I end up talking about...

 

Standard Microsoft Disclaimer:
"This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use."

-Taylor Brown


Browse by Tags

All Tags » WMI » Powershell   (RSS)
Attaching Passthough Disks Via WMI (SCSI or IDE)
So you want to use passthough disks with Hyper-V cool – but how do you script attaching them?  Well here’s your answer…  But first you need to decide if you are going to attach them to the virtual IDE controller or the virtual SCSI controller.  Read More...

Posted Friday, October 16, 2009 1:06 PM by taylorb | 0 Comments

PDC Teaser – Attaching a VHD to A Virtual Machine
PDC is just around the corner now – I am giving the dry run of my talk tomorrow morning, so of course I am working on my demo’s today…  Just to give you a bit of a teaser here’s one of the scripts that I am using in one of my demo’s… This script Read More...

Posted Monday, October 13, 2008 3:55 PM by taylorb | 5 Comments

Filed under: , ,

Open Source PowerShell Editor -- PowerGUI
Many of you know I have been a fan of PowerShellPlus for quite a while, but I was turned on to a new editor the other day that’s pretty slick – PowerGUI . Winner of this years Windows IT Pro Magazine’s Best of Tech Ed IT Pro Breakthrough Product Award Read More...

Posted Friday, August 22, 2008 8:53 AM by taylorb | 3 Comments

Filed under: , ,

Hyper-V WMI: What VHD’s/Physical Disks Are Associated With a Virtual Machine?
I  got a great question based on yesterday’s post (by the way my e-mail was blocking a lot of external messages that’s fixed now so I apologize to anyone I missed a mail from).  The person was asking how they could figure out what physical disk Read More...

Posted Thursday, August 21, 2008 7:10 PM by taylorb | 5 Comments

Filed under: , ,

Hyper-V WMI: KVP Exchange aka Data Exchange (Retrieving and Modifying Parent/Host KVP’s)
On Sunday I showed how to add registry keys to the guest from the host ( Hyper-V WMI: KVP Exchange aka Data Exchange (Adding New Items From Parent/Host) ) and on Monday I showed how to read registry key’s written by the guest from the host ( Hyper-V WMI- Read More...

Posted Wednesday, July 09, 2008 5:00 PM by taylorb | 3 Comments

Filed under: , ,

Hyper-V WMI: KVP Exchange aka Data Exchange (Adding New Items From Guest)
Yesterday’s post ( Hyper-V WMI: KVP Exchange aka Data Exchange (Adding New Items From Parent/Host) ) showed how to add registry key’s into the guest so that the guest could receive information from the host.  Today’s post will show how to add a registry Read More...

Posted Monday, July 07, 2008 5:00 PM by taylorb | 1 Comments

Filed under: , ,

Hyper-V WMI: KVP Exchange aka Data Exchange (Adding New Items From Parent/Host)
I have gotten a ton of questions about the KVP Exchange or Data Exchange Integration Component…  So what is it and how do I use it?  The KVP Integration component allows the guest and host to query and provide information to each via pairs of Read More...

Posted Sunday, July 06, 2008 3:35 PM by taylorb | 7 Comments

Filed under: , ,

Hyper-V WMI: Rich Error Messages for Non-Zero ReturnValue (no more 32773, 32768, 32700…)
Since I did my last post on snapshots I have gotten several comments and few e-mails asking how to map ReturnValues to actual human readable strings. I guess not every one just knows that 32773 is Invalid Parameter… Well after many hours of asking and Read More...

Posted Wednesday, June 18, 2008 9:29 PM by taylorb | 5 Comments

Filed under: , ,

Hyper-V WMI: Creating/Applying/Deleting Virtual Machine Snapshots
After I finished writting this I relized it got a bit long... - I guess I had a lot to talk about! Hope you enjoy it (or at least find it mildly useful) Hyper-V implements a feature known as snapshots, this should not be confused with a SAN snapshot or Read More...

Posted Monday, June 16, 2008 7:35 PM by taylorb | 11 Comments

Filed under: , ,

Hyper-V WMI – Configuring Automatic Startup/Shutdown/Recovery Action’s For Virtual Machines
Hyper-V virtual machines have configuration options that control what happens when the parent/host server shuts down, start’s up, or if a virtual machine’s worker process terminates unexpectedly.  The first two conditions (parent/host shutdown, startup) Read More...

Posted Saturday, June 14, 2008 4:18 PM by taylorb | 0 Comments

Filed under: , ,

Hyper-V WMI – Cloning Virtual Machines Using Import/Export
I have officially given up on the “Hyper-V WMI Using PowerShell Scripts” serious, not because of lack of interest but because or extreme interest implying that I would need to do Part 5, 6, 7, 99… Counting past 5 is hard so from now on I will just title Read More...

Posted Saturday, June 07, 2008 7:09 AM by taylorb | 2 Comments

Filed under: , ,

Hyper-V WMI Using PowerShell Scripts – Part 5 (Creating Virtual Switchs/Networks)
I hope everyone had a great Memorial Day weekend – we had a four day weekend on the Hyper-V team which was excellent! In this post I am going to show how to create a new virtual switch attached to an external network. I’ll start with a complete script Read More...

Posted Monday, May 26, 2008 7:03 AM by taylorb | 1 Comments

Filed under: , ,

Hyper-V WMI Using PowerShell - Part 4 and Negative 1 (Shutdown IC Powershell/C#)
I hope everyone is enjoying Hyper-V RC1 (yep I just linked to my own post -shamless maybe) but, as promissed here's some more WMI goodness. Title got your attention? Well this is a two part post… First I will show how to use the Shutdown IC to initiate Read More...

Posted Wednesday, May 21, 2008 7:00 AM by taylorb | 2 Comments

Filed under: , , ,

Hyper-V WMI Using PowerShell Scripts – Part 3 (KVP's - Guest OS Version)
In part 1 we went over basic scripts and tools for gathering some generic information about virtual machines and in part 2 we went over VHD creation and WMI job’s. In part 3 I am going to cover getting more detailed information about a guest operating Read More...

Posted Tuesday, May 06, 2008 6:42 AM by taylorb | 4 Comments

Filed under: , ,

Hyper-V WMI Using PowerShell Scripts – Part 2 (VHD Creation)
In part 1 we went over some basic scripts and tools for gathering information about running virtual machines. In part 2 I am going to cover two things, first basic VHD creation and second determining if Hyper-V WMI methods are succeeding or failing and Read More...

Posted Friday, May 02, 2008 6:35 AM by taylorb | 0 Comments

Filed under: , ,

More Posts Next page »
Page view tracker