Hyper-V WMI Using PowerShell Scripts – Part 1 (Worker Process ID to Virtual...
Hello out there in blog land… This is Taylor Brown some of you may know me from the Virtualization Deployment Summit or from my posts on the TechNet Forums, for those who don’t know me I am a test lead...
View ArticleHyper-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...
View ArticleHyper-V WMI Using PowerShell Scripts – Part 3 (KVP's - Guest OS Version)
Update 12/5/12A lot has changed since 2008 and many things have stayed the same… I wanted to provide an update to some of the most commonly viewed posts and this was one of them.For updated...
View ArticleHyper-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…...
View ArticleHyper-V WMI Using PowerShell Scripts – Part 5 (Creating Virtual...
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...
View ArticleHyper-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…...
View ArticleHyper-V WMI – Configuring Automatic Startup/Shutdown/Recovery Action’s For...
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...
View ArticleHyper-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...
View ArticleHyper-V WMI: Rich Error Messages for Non-Zero ReturnValue (no more 32773,...
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...
View ArticleHyper-V WMI: KVP Exchange aka Data Exchange (Adding New Items From Parent/Host)
Update 12/5/12A lot has changed since 2008 and many things have stayed the same… I wanted to provide an update to some of the most commonly viewed posts and this was one of them.For updated...
View ArticleHyper-V WMI: KVP Exchange aka Data Exchange (Adding New Items From Guest)
Update 12/5/12A lot has changed since 2008 and many things have stayed the same… I wanted to provide an update to some of the most commonly viewed posts and this was one of them.For updated...
View ArticleHyper-V WMI: KVP Exchange aka Data Exchange (Retrieving and Modifying...
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...
View ArticleHyper-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...
View ArticleOpen 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...
View ArticlePDC 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...
View ArticleHyper-V PowerGUI PowerPack – Now That’s Power….
I loved PowerGUI ever since I found it a month ago or so… Well Kirk and the PowerGUI guys have done it again… They now have a pretty comprehensive PowerShell wrapper for Hyper-V… Pretty...
View ArticleHyper-V: Background Merging of AVHD’s… When’s it done?
I think it might be best to start at ground zero with this topic and explain what a snapshot really is and how it work’s (if you already know skip a head…). Hyper-V introduced a new feature called a...
View ArticleAttaching 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...
View ArticleScripts From TechEd 2012… Part 1 (Keeping PowerShell Window On Top)
I just finished my speaking session at TechEd 2012, once the recording is available I will post a link… I’ve already had an overwhelming number of requests for the scripts that I used during the...
View ArticleRemoving a VHD From A VM Using The Hyper-V WMI V2 Namespace
What good would Attaching a VHD To A VM Using The Hyper-V WMI V2 Namespace be if you couldn’t remove one two… Here’s how you do it. Removing a virtual hard disk $vmName = "Test" $vhdPath =...
View Article