here is a script i put together to loop through the RVTools result and mount all the suspect VMDKs
Tag: vCenter
Troubleshooting tools on a VCSA
Here is a list of tools/commands I use on a VMWare VCSA (6.7 and 7.0) I can never remember them so I’ll document them here. This list will grow. 1, Trace Route If you are used to using tracert on on windows you will be pleased to know that there is a trace route command…
vCenter/VCSA Cert checking
If you look after a vCenter or VCSA at some point you are going to have the certificates expire on you. And if you look after a lot of vCenter servers then expiring Certs are a constant headache that pops up just at the time that is most inconvenient. VMWare detail that only in some…
VMWare tasks
Some thing I always send a lot of time doing is looking for old tasks in vCenter. When using the web client or even Powershell you get a list of active tasks and some old ones before they disappear. You can go back through the Event list but sometimes you need to see the tasks….
Get tasks with events
Here is a script to get tasks (historic tasks not just current) and also the events associated with that task.This is very handy for auditing or troubleshooting. The task collection part of the script I found on LucD blog at https://www.lucd.info/tag/get-task/ Basically this will get all tasks and events for a specific time frame. It…
VAMI password has expired
Have you ever tried to log on to the VMware vCenter Server Appliance and got a “Password Expired” error? I have. Too many times to count (4). So here are the steps to fix it. Log in to vCenter Open the console of the VCSA VM Log in with the expired password Goto Troubleshooting Mode…
Find VMs restarted by HA
Administer VMWare long enough and you will eventually lose a host. If you are using HA you may not notice until the phones start ringing some time later. At this point all the VMs are back on line on different hosts. When Problem management/bosses get involved you will normally be asked “what VMs restarted?”here is…
Find and remove connected CD drives using PowerCLi
If you work in an environment where no one remembers to disconnect their ISO images when done then this script is for you. This script will report each VM with a connected CD drive and its ISO path, to a CSV fileAlso once a specified number of days have passed (assuming this script is run…