Thursday, May 15, 2008

I came across this problem the other day, where I wanted to determine if a Virtual Machine was running on Hyper-V or Virtual Server 2005 host system.

WMI exposes the Win32_ComputerSystem class which contains information about the Manufacturer and Model of a particular system (this is very hand if you want to check type of system before installing an application, e.g. Virtual Machine Additions). The unfortunate news is that Win32_ComputerSystem returns the following on both Hyper-V and Virtual Server hosts:

So how to determine what it is I am looking at? Well there is another WMI class, Win32_BIOS, which can help. Here you can see a difference in the Version between products.

Hyper-V

Virtual Server 2005 SP1

So far this seems to work for me; I am interested if anyone has alternate suggestions on how to solve my little problem, especially if there are cases where this will break (for example limiting the CPU functionality to run NT 4.0?)

Thursday, May 15, 2008 3:40:55 PM (E. Australia Standard Time, UTC+10:00)
 Thursday, April 24, 2008

Not long now till I tie the knot and if you are in the same boat, you may not have realised how many geek wedding accessories are out there.

With a little help for Leon we have found a few things to make that special day that bit more geeky!

 

 

Thursday, April 24, 2008 9:37:46 PM (E. Australia Standard Time, UTC+10:00)
 Sunday, April 20, 2008

Last week I was configuring a lab server with Hyper-V RC0 when I came across this error after creating a Virtual Switch with VLAN ID enabled:

Switch set up failed, name='3742d220-e73d-4ae5-bf0c-429ca168dc41', external port='d02dcb9e-76d4-496a-9c17-ea808e5ce125', internal port='375e5f91-b1fb-415d-8717-cd3ea36c9753', NIC='{165929BF-5BA2-4887-BC54-1D52C1A6BE61}', internal name='07b53c30-5d56-4a2d-a542-146773d39299', internal friendly name='Virtual Network Connection (VLAN Trunk)', error=2147749896, mof code=0.

Located in the Hyper-V application log this error resulted in a failed switch configuration and without a supported way to remove Virtual Switches (doesn’t seem right does it?) prevents you from creating any other network using that interface.


Turns out that this error occurs if you are creating a new network (with VLAN ID enabled) on a physical interface that doesn’t have a default VLAN ID specified, see example image below.


Hyper-V Networking
Hyper-V provides many networking improvements and the Virtual PC Guy’s has put together a great blog post explaining the changes, worth while reading for those making the move from Virtual Server.
Understanding Networking with Hyper-V

Sunday, April 20, 2008 7:26:05 PM (E. Australia Standard Time, UTC+10:00)
 Sunday, February 17, 2008
I love my media center and for some time now it has been playing/pausing/recording all my media without major issue (especially after moving too Vista Ultimate). Now I did say major issue! Since day dot I have had one problem; 1+ second delay on key presses with my Terratec remote control.

The explanation is simple; the Terratec remote has programmed keys, and it requires that you install a hardware application to capture the incoming signal, and then process them as actions in whatever application you happen to be using, making it one of the most versatile remotes available. It’s just unfortunate that the user experience and general design are so crap, just look at it, what were they thinking?

Until recently there haven’t been many other options just a lot of promises (and more promises) that there will be a new remote available for Vista MCE although nothing ever appeared on the Microsoft Hardware site. :(

Well here they are... turns out that Microsoft has left it to hardware manufactures to take up the fight and conform to the new IR RC6 and Windows Logo Program.

    

Now all that is left is deciding which one to buy :)

Sunday, February 17, 2008 12:20:45 AM (E. Australia Standard Time, UTC+10:00)
 Tuesday, February 05, 2008

 

Today Microsoft announced the release of Windows Server 2008 to the public, and for the sake of blogging and adding another new tag to my collection I decided to tell you all!

For those with TechNet or MSDN subscriptions the 64-bit edition is now available for download, the 32-bit edition and WAIK will be available in the next few days.

Happy downloading

Tuesday, February 05, 2008 9:22:51 AM (E. Australia Standard Time, UTC+10:00)
 Friday, February 01, 2008

Jeffrey Snover has posted a fantastic PowerShell Scripting presentation he did late last year on the PowerShell Team Blog.

The session is aimed at people who have had experience with PowerShell and is pitched as a deep dive - includes lots of examples and chewy detail. Topics covered include:

Forms and styles of scripting
Scriptblocks
Switch
V2 Script Cmdlets
V2 PSJobs

This is presentation definatly makes installing the Silverlight plugin worth while.

Thanks Jeffrey :)

Friday, February 01, 2008 5:49:25 PM (E. Australia Standard Time, UTC+10:00)
 Thursday, January 10, 2008

It has been announced that there is only one last lone Windows 2003 Server at Microsoft.com and in celebration (if you call it that) MS have created a skit which is definatly worth watching.

Check out this Technet Australia Blog.

Thursday, January 10, 2008 11:48:29 AM (E. Australia Standard Time, UTC+10:00)
 Sunday, December 23, 2007
Last week I had the "pleasure" of configuring a Dell PowerConnect switch. Not a bad piece of kit, just not a Cisco, the PC6224 is a Layer 3 switch with 24 x GB Ethernet (GBe) ports and 4 x GB Interface (GBIC) ports.

Once racked and powered the real fun started – CONFIG....

> en
> sh run
Oops apparently I meant
> show running-config
> conf t
Again, oops I apparently meant
> configure
....
> wr mem
Doh - I mean
> write memory
No, humm
> save
Where is that !@#$ing command line reference manual!@!@!

The commands are fairly similar to those on a Cisco and with tab complete and in-line help it doesn’t take much to work out the differences. But beware there are a few gottya’s that I found and decided to share:

  • Trying to wr mem maybe you should try copy running-config startup-config. What are we five! At least let me save my changes easily.
  • The PowerConnect IOS doesn’t use alias, anywhere. Be sure to use that TAB button to complete your command before you execute it.
  • No VTP, instead PowerConnect switches use GRVP (same thing just a different standard), so if you have to trunk between a Cisco and PowerConnect you have to enable GRVP on the Cisco first.
  • It is only a 24 port switch. By purchasing the optional SFPs and installing them in the any of the GBIC ports you lose one of the GBe ports.
  • No way to manually set the time and date on the switch. Clock is only configurable via an NPT server.
  • Unable to set management IP on a routable VLAN. If you try and set the management interface to a routable VLAN you receive and error; luckily I managed to find this article which details the work-around.
Sunday, December 23, 2007 1:23:06 AM (E. Australia Standard Time, UTC+10:00)

When I started blogging there was one thing I didn't want to happen; write two or three posts then let the site lay dormant whilst the hosting plan expired then rack up more traffic on WebArchive than the original site.

And after nearly two months since my last post, all excuses aside, I figured it was time to get back into the swing of things. In case you have been under a rock during this time, some highlights include:

Sunday, December 23, 2007 12:46:22 AM (E. Australia Standard Time, UTC+10:00)
Navigation
Search
On this page....
Archives
<May 2008>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Categories
Blogroll
Contact me
Send mail to the author(s) E-mail
Powered by

newtelligence dasBlog 2.0.7226.0.