Skip to content

AlanRocks

A place to store my quick notes I want to access later, plus maybe help the world…?

Month: January 2011

Posted on January 11, 2011

Find all ver and build hosts

[powershell]
Get-View -ViewType HostSystem | Select Name, @{N="Version";E={$_.Summary.Config.Product.FullName}}
[/powershell]

Where { $_.Version -match “ESXi”}

add for only esx

Posted on January 10, 2011

Reg all vm’s in datastore

[powershell]
$esxhost= Get-VMHost anyhost
dir ‘vmstores:\[email protected]\name\datastorename\*\*.vmx’ |
% {New-VM -Host $esxhost -VMFilePath $_.DatastoreFullPath}
[/powershell]

Recent Posts

  • Clearing out missing pool desktop
  • ntp powershell (semi)
  • VMware UAG Horizon Proxy Patterns
  • RDM – find assisgned and make sure assigned as Perennially Reserved
  • checking a cluster to see about MM (scsi bus sharing)

Recent Comments

    Archives

    • May 2019
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • November 2017
    • January 2017
    • March 2015
    • December 2014
    • July 2014
    • May 2014
    • April 2014
    • July 2013
    • June 2013
    • May 2013
    • April 2013
    • January 2013
    • November 2012
    • August 2012
    • July 2012
    • May 2012
    • January 2012
    • October 2011
    • September 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • March 2011
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010

    Categories

    • Exchange
    • Mircosoft
    • OpenIndiana (OpenSolaris)
    • PowerCLI
    • Storage
    • Uncategorized
    • VMware

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Proudly powered by WordPress