vmware
List the Path and Path State for every vSphere Datastore using PowerCLI
List the Path and Path State for every vSphere Datastore and then output to CSV using PowerCLI $initalTime = Get-Date $filepath = “C:\tmp” $filename = “LunPathState” $date = Get-Date ($initalTime) -uformat %Y%m%d $time = Get-Date ($initalTime) -uformat %H%M Write-Host “$(Get-Date ($initalTime) -uformat %H:%M:%S) – Starting” $AllHosts = Get-VMHost | Sort Name $reportLunPathState = @() Write-Host […]
Tags: PowerCLI, PowerShell, vmware
Posted in Cloud, PowerCLI, Powershell, vmware | 0 Comments
Reset the vSphere Memory Limit using PowerCLI
If you’ve ever migrated clusters or joined VM’s from a different cluster, I’m sure you’ve run into the bug where memory limits are set on the VM’s automatically. To remove this, simply use the powerful oneliner below! Get-VM | Get-VMResourceConfiguration | where {$_.MemLimitMB -ne ‘-1’} | Set-VMResourceConfiguration -MemLimitMB $null
Tags: PowerCLI, PowerShell, vmware
Posted in Cloud, PowerCLI, Powershell, vmware | 0 Comments
List the Hostname, Cluster Name, Memory Size, CPU Sckets and CPU Cores of each ESX host using PowerCLI
List the Hostname, Cluster Name, Memory Size, CPU Sckets and CPU Cores of each ESX host using PowerCLI $myCol = @() ForEach ($Cluster in Get-Cluster) { ForEach ($vmhost in ($cluster | Get-VMHost)) { $VMView = $VMhost | Get-View $VMSummary = “” | Select HostName, ClusterName, MemorySizeGB, CPUSockets, CPUCores $VMSummary.HostName = $VMhost.Name $VMSummary.ClusterName = $Cluster.Name $VMSummary.MemorySizeGB […]
Tags: PowerCLI, PowerShell, vmware
Posted in Cloud, PowerCLI, Powershell, vmware | 1 Comment
VMworld 2012 Shuttle Schedule!
Looking for the Hotel Shuttle Schedule for VMworld 2012 San Francisco?!?!? Look no further! as we’ve got it! Get it here! vmworld_2012_shuttle_hotel
Posted in Cloud, vmware | 0 Comments