Welcome to TechNet Blogs Sign in | Join | Help

Hyper-V PowerShell library - now on Codeplex

I've decided to go ahead and post the PowerShell library I have been working on to Codeplex. I wanted to explain various bits of it here before pulling it all together, but that is taking more time than I wanted. I've provided early copies to a few people - John Kelbley  used them to good effect at the US tech-ed recently - and I haven't had too many bug reports so I've decided to broaden the audience. 

There's lot's of good stuff happening in Hyper-V and scripting right now. Taylor Brown has a blog with more examples in PowerShell; Ben Armstong has some good stuff too; Ben's more of a VB guy than a PowerShell one and I'll probably continue to tease him gently about the fact ... he has a very long script. to compact a VHD. Mine is a 4 line function.  Interestingly Taylor's post contains a "Wait for WMI Job" function and Ben has built in. I might write a similar function and give my functions which return Job IDs a "-WAIT" option in the next major revision. I picked out Taylor and Ben because of their blogs but there have been other people inside Microsoft who have been a great help pulling this together, I wish I'd kept a list of who had pointed me to this or that so I could thank them.   

The source code is open (as Powershell tends to be) and distributed under the Microsoft public license (MS-PL).

Published Wednesday, June 18, 2008 5:43 PM by jamesone

Comments

# re: Hyper-V PowerShell library - now on Codeplex

James,

Thansk for sharing the Hyper-V PowerShell library. I also publish some examples on my blog //dungkhoang.spaces.live.com. Let me know how I can contribute some of them to your library

/Dung

Wednesday, June 18, 2008 2:55 PM by Dung K Hoang

# re: Hyper-V PowerShell library - now on Codeplex

it's a great job..

thanks..

I understand that your code the powershell is simple than vs script but powershell scripts is not working on the server core

Monday, June 23, 2008 12:06 AM by Sangok

# Hyper-V Script on CodePlex

MSFT 소속의 James O'Neill 이 Hyper-V 를 Control 할 수 있는 Powershell 라이브러리를 공개 했습니다. Hyper-V 에서 Powershell

Monday, June 23, 2008 12:25 AM by Oks with IT

# re: Hyper-V PowerShell library - now on Codeplex

Sangok. The code doesn't run on server core but everything has a -server switch to allow you to manage a core machine remotely. (That's the idea with server core).

Wednesday, June 25, 2008 3:12 AM by jamesone

# re: Hyper-V PowerShell library - now on Codeplex

Nothing seems to be checked in on Codeplex. Am I missing something?

Wednesday, June 25, 2008 7:27 PM by Norm

# re: Hyper-V PowerShell library - now on Codeplex

Norm, you need the releases tab, not the source code one.

Friday, June 27, 2008 7:37 AM by jamesone

# Hyper-V PowerShell library - now on Codeplex

James O'Neill: I've decided to go ahead and post the PowerShell library I have been working on

Sunday, June 29, 2008 8:09 AM by Hyper-v

# Hyper-V PowerShell library - now on Codeplex

James O'Neill: I've decided to go ahead and post the PowerShell library I have been working on

Wednesday, July 09, 2008 3:44 PM by HyperVoria
New Comments to this post are disabled
 
Page view tracker