Hi guys
I have been given the doubtful honor of trying to sort someone else's script out, and I don't have any previous experience
of scripting. The script is a PowerCLI script for vSphere 5.1 (was a vSphere 4.1 sctipt, which has been adapted to vSphere 5.1), and the idea is to run the script on a new basic ESXi 5.1 installation, to configure the host.
The problem is according to one of the guy's who have be tampering with it previously.
1. The script runs fine, and do all the configuration like, vmnic's, port groups, time server, etc.
2. It then calls VUM to patch the server.
3. When VUM is finished, it will reboot the server.
4. The script is then supposed to sort of wait in a loop, for the server to come back up.
5. But it never gets any further, the script will simply stand there forever and wait.
It seems like there is missing some sort of functionality that is able to catch the server when it comes back up, and continue the script. If that at all is possible ?.
Does any of you clever heads have any good ideas, or is it just not possible.
nh4vm