25/05/2010 12:00
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
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
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
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
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
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
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
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
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
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...