...hopefully some useful VMware related stuff

Article archive

25/05/2010 12:00

Datastore Information script showing ESX and datastore name paths and multipathing settings

A great script by LucD on the VMware community forums: https://communities.vmware.com/thread/269695 Download HERE   - - - - - - - - - - - - - - - - - - - - # Script to Show Datastore Info (Multipathing etc.) # LucD $report = @() Get-VMHost  | Get-View | %{  $esx =...
20/05/2010 12:00

Display memory allocated and memory available across environment

Script displays total memory available in each cluster, total memory allocated to VMs in each cluster and a percentage allocated. If over 100% message stating over-commitment is present. Then a table for each host in the cluster and same items as above is displayed.   The script can be run...
17/05/2010 12:00

Display number of vCPUs assigned and vCPU to Core ratio

Script displays Overall number of Cores available over all hosts, then the number of Virtual CPUs assigned and then the ratio.   The script can be run from a standard PowerShell window, as it checks for the VMware snapin and loads if necessary. If no connection exists to vCenter server it will...
12/05/2010 22:00

Configuring boot order for ESX on an IBM x3550 or x3650 M2

After installing ESX onto an M2 version of the IBM x3550 or x3650, the server fails to boot. This is due to the server wanting a UEFI enabled Operating System like Windows Server 2008. If a Server 2008 DVD is in the drive, the server will boot into ESX after detecting the DVD providing no key is...
12/05/2010 12:00

Add the VMware Network adapter to a Windows NT4 server after P2V

After a Physical to Virtual (P2V) convertion of an old Windows NT4 SP6 server, the network adapter is not automatically added or detected.   The following process successfully adds the 'VMware Virtual Ethernet Adapter' to the new Virtual Machine. First of all Install VMware Tools. ...
11/05/2010 12:00

Insert network drivers into the VMware Converter CD coldclone.iso

When booting a physical server with the coldclone.iso VMware Converter CD to do a P2V convertion the message 'Network Adapter Not Found' appears despite a network card being present in the machine. In order to complete the P2V and detect the network card, the network drivers need to be...
21/04/2010 00:00

CIFS share Locked files on a NetApp filer

Issue with a locked file on a CIFS share. First check Computer Management and then connect to the filer. Look at Open Files or Sessions and see if the lock can be released from there.   If it isn't showing, then telnet to the filer.   You can use these commands to see CIFS status,...
20/04/2010 16:25

Execute remote commands on ESX and IBM NSeries using plink

Came across this whilst trying to schedule replication throttling on an IBM NSeries unit. This works from the Windows Command line and executes remote commands on your remote unit. Using this withing a batch file running from a scheduled task.   Download PLink from the download page...
20/04/2010 14:21

View Disk Usage from the command line with df and vdf

View Disk Usage from the command line with df and vdf   When logged into the ESX at the command line run the following: df df -h (to show the values in more helpful formats)     Extending on this, to view the VMFS datastore useage run the following: vdf vdf -h  
15/04/2010 12:00

List Emails through your Exchange Server between two dates

List Emails through your Exchange Server between two dates   I was troubleshooting an Email issue on an Exchange server and had sent emails with the subject 'Test'. I wanted to see all messages that matched this subject line in the last two days but thought it would be useful to script it so I...

Search site