CPU Overcommitment

While I know there are a 1000 blog posts out there talking about CPU overcommitment, I felt compelled to write my own following a conversation I had recently. Me: “I’ve noticed you’re running 6.25:1 overcommitment ratio. Have you looked into how your VMs are performing recently? Customer: “No, the hosts CPU doesn’t look busy and

 633 total views,  1 views today

Create unique host profiles for each host in a cluster

The below command will create a host profile for each host found in $global:CLUChoice, The profile will be named “VMhostName-Profile” and will include the date the profile was taken in the description $global:DCChoice – Datacenter$global:CLUChoice – Cluster Get-Datacenter $global:DCChoice | Get-Cluster $global:CLUChoice | Get-VMHost | ForEach-Object -Process { New-VMHostProfile -Name “$($_.Name)-Profile” -Description “$($_.Name)) Profile. This

 604 total views,  1 views today

Get VMUG Today

If your not already familiar, VMUG is an awesome VMware independent community that provides you with lots of benefits such as local events where speakers talk about all the latest and greatest ideas and features to year long licence keys for all your favorite VMware products to give you the opportunity to lab them up

 605 total views

Quickly add additional disks to your VMs

You have the option of either using the variable $VM to specify multiple VMs that require the same disk configuration, or you can manually enter the VM name in its place #Specify VMs $vm = Get-VM “*VM Name*” #Add a thick provisioned, Eager Zeroed disk to 1 or more VMs: New-HardDisk -StorageFormat EagerZeroedThick -Controller “SCSI

 699 total views,  4 views today

List DRS Recommendations and apply them

Heres a function i put together that pulls a list of DRS recommendations for your chosen cluster then asks whether you want to apply them. It uses my usual variables from my menu system $Global:DCChoice – Datacenter Choice$global:CLUChoice – Cluster Choice #Apply DRS recomendations? function VP-ApplyDRSRecommendations { Get-Datacenter $global:DCChoice | Get-Cluster $global:CLUChoice | Get-DrsRecommendation Write-Host

 775 total views,  5 views today

List VMs with old or no installed VMware Tools

#Get VMs with old or no toolsget-vm | where {$_.ExtensionData.Guest.ToolsStatus -eq “toolsOld” -or $_.ExtensionData.Guest.ToolsStatus -eq “toolsNotInstalled”} | Select Name, PowerState, @{N=”ToolsStatus”;E={$_.ExtensionData.Guest.ToolsStatus}} | Sort ToolsStatus  637 total views,  3 views today

 637 total views,  3 views today