Powershell

At long last, VMware has released their PowerShell toolkit to the public.  You can grab it at this convenient URL (love it when companies do that):

http://vmware.com/go/powershell

There is already an official forum online for the toolkit which those in the closed beta were already participating.  That means there’s already some content in there for new users.  It’s a great place to ask questions. 

The toolkit is still beta, and the documentation is unfinished.  But what’s in there now is really cool and very stable.  I believe it is covered by VMware Support already so you can actually open a support case if you run into trouble, if you have a support contract.  Below is a list of the scope of the cmdlets included.  Instead of waste 102 lines of text I’ve grouped them by verb and noun for clarity.

   1: 76# Get-Command -PSSnapin v* | group verb | ft count,name -auto
   2:  
   3: Count Name
   4: ----- ----
   5:     1 Add
   6:     1 Dismount
   7:     2 Find
   8:    28 Get
   9:     1 Load
  10:     1 Mount
  11:     7 Move
  12:    16 New
  13:    17 Remove
  14:     1 Restart
  15:     1 Save
  16:    18 Set
  17:     1 Shutdown
  18:     1 Start
  19:     2 Stop
  20:     2 Suspend
  21:     1 Update
  22:     1 Wait
  23:  
  24: 77# Get-Command -PSSnapin v* | group noun | ft count,name -auto
  25:  
  26: Count Name
  27: ----- ----
  28:     5 VMHost
  29:     3 Tools
  30:     1 EntityView
  31:     1 EntityViews
  32:     4 CDDrive
  33:     5 Cluster
  34:     5 Datacenter
  35:     4 Datastore
  36:     1 Event
  37:     4 FloppyDrive
  38:     5 Folder
  39:     3 HardDisk
  40:     3 Inventory
  41:     1 Log
  42:     1 LogType
  43:     4 NetworkAdapter
  44:     4 OSCustomizationSpec
  45:     5 ResourcePool
  46:     4 Snapshot
  47:     1 Stat
  48:     3 Task
  49:     4 Template
  50:     1 View
  51:     1 Views
  52:     4 VirtualSwitch
  53:     1 VIServer
  54:     1 VIToolkitVersion
  55:     8 VM
  56:     4 VMGuest
  57:     2 VMHostNetwork
  58:     1 VMHostStorage
  59:     2 Session
  60:     3 CustomField
  61:     3 VMHostNetworkAdapter

Supposedly there was going to be a PSDrive provider as well but I don’t see it anywhere.  Maybe it’ll turn up.  :)

: http://halr9000.com/article/472

No comments yet.

  • Microblog

  • Recent Posts

  • Recent Comments

  • meta

  • PowerShell Blogroll