Posts RSS Comments RSS 253 Posts and 411 Comments till now

Intro to VMWare VI Toolkit for Windows (Playing Around Series)

I know there are a good bit of people out there that are unable install and play with the new VMWare toolkit. So in this post I though I would record some of my playing around with Get-VM 🙂

I show Get-VM, Get-HardDisks, Get-CDDrive, Get-NetworkAdapter, and Get-FloppyDrive. I recommend pausing and reading the video as you go.

Note: This is a fast run through. I recommend pausing and reading the Comments.

BEST VIEWED FULL SCREEN

Get the Flash Player to see this content.

Some shout outs:
To Hal from PowerScripting.Net for use of his Lab for recordings. Here is his blog: Hals Blog
To Camtasia for incredible product:
Click Here
To VMWare for some Great CMDLets: Click Here

Demo File

Get-VC home.halr9000.com
# Lets look at the all the commands we have.
Get-Vicommand | more
# Now lets look at Get-VM
Get-VM
# What properties do we have for the VMs
Get-VM | Get-Member -type property
# Lets look at the Hard Disks
Get-VM | Get-HardDisk
# Here are the properties for a HardDisk
Get-VM | Get-HardDisk | Get-Member -type Property
# Lets look at VMs with over 2gb of disk
Get-VM | Get-HardDisk | ?{$_.CapacityKB*1kb -gt 2gb}
# What about 4gb
Get-VM | Get-HardDisk | ?{$_.CapacityKB*1kb -gt 4gb}
# Now lets look at the CD Drives
Get-VM | Get-CDDrive
# What about the properties available
Get-VM | Get-CDDrive | get-member -type property
# Lets make sure none of the CD’s have ISO’s attached
Get-VM | Get-CDDrive | ?{$_.ISOPath}
# How bout NICs
Get-VM | Get-NetworkAdapter
# what do they have to offer?
Get-VM | Get-NetworkAdapter | get-member -type property
# Lets look at all the NICs, but only the Mac and NetworkName
Get-VM | Get-NetworkAdapter | select MacAddress,NetworkName
# Finally, Lets take a quick peak at floppies
Get-VM | Get-FloppyDrive

Trackback this post | Feed on Comments to this post

Leave a Reply

You must be logged in to post a comment.