Home » VMware

VMware get inventory

source: http://www.wooditwork.com/2010/08/16/exporting-all-that-useful-vm-information-with-powercli/ To export a list of usefull information about your environment use the following oneliner to export it to a CSV. Get-VM | Select Name, PowerState, NumCPU, MemoryMB, ProvisionedSpaceGB, UsedSpaceGB, @{N=”ESX Host”;E={Get-VMHost -VM $_}}, @{N=”Datastore”;E={Get-Datastore -VM $_}}, @{N=”Guest…

Read More »

Enable CBT on VMware

See also http://www.bvanleeuwen.nl/faq/?p=1236 Create vm list $targets = Get-VM | Select Name, @{N=”CBT”;E={(Get-View $_).Config.ChangeTrackingEnabled}} | WHERE {$_.CBT -like “False”} Enable CBT ForEach ($target in $targets) { $vm = $target.Name $vmView = Get-vm $vm | get-view $vmConfigSpec = New-Object…

Read More »

Configuring disks to use VMware Paravirtual SCSI (PVSCSI) adapters

source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010398 Details This article includes supplemental information about configuring and using VMware Paravirtual SCSI (PVSCSI) adapters. PVSCSI adapters are high-performance storage adapters that can result in greater throughput and lower CPU utilization. PVSCSI adapters are best suited…

Read More »

Enabling Change Block Tracking (CBT) on a Virtual Machine (VMware vSphere 5.1)

Source: http://www.lazywinadmin.com/2013/01/enabling-change-block-tracking-cbt-on.html+   How to Enable CBT on your VM ? (PowerShell/PowerCli) You can do the following even if your VM is Powered ON. # Check and Add the PowerCli Snaping if not already present if(-not(Get-PSSnapin -Registered -Name “VMware.VimAutomation.Core”){…

Read More »

Downloading patches with VMware vCenter Update Manager fails to one of the selected sources (2009000)

source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009000   Downloading patches from one of the software sites configured in VMware vCenter Update Manager fails. The VMware vCenter Update Manager server logs contain entries similar to: [2011-11-01 15:24:57:425 ‘httpDownload’ 4440 ERROR]  [httpDownload, 732] Error 12175 from…

Read More »

Installing Dell OpenManage Server Administrator on VMWare ESXi 5.5

Installing Dell OpenManage Server Administrator on VMWare ESXi 5.5 Installing Dell OMSA on a ESXi server allows you to see more detailed information regarding the Dell hardware. It also allows you to perform operations such as specifying hot…

Read More »

How to install Dell Openmanage Server Administratior on ESXi using VMware Update Manager

http://oxfordsbsguy.com/2013/08/09/how-to-install-dell-openmanage-server-administrator-on-esxi-5-1-using-vmware-update-manager/ 1.  Download the OpenManage Server Administrator vSphere Installation Bundle (VIB) for ESXi 5.1, v7.3 from Dell’s website. It can be found on the Product Support page in the System Management section. Or you can download it from…

Read More »

Creating a persistent scratch location for ESXi 4.x and 5.x (1033696)

source: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1033696   VMware recommends that ESXi has a persistent scratch location available for storing temporary data including logs, diagnostic information, and system swap. (This is not a requirement, however.) Persistent scratch space may be provisioned on a…

Read More »

Copy vswitch information between ESX servers

Below is a script to copy vswitch information from a source ESX server to a destination ESX server. All vswitch, network and vlan information will be copied. # Define Variables $VCServer = “vc-server” $cred = Get-Credential # Connect…

Read More »

Clipboard Copy and Paste does not work in vSphere Client 4.1 and later

To be able to copy and paste between the guest operating system and the remote console, you must enable the Copy and Paste options using the vSphere Client. Alternatively, you can use RDP (Remote Desktop Protocol) to connect…

Read More »