Sunday, 21 July 2013

vShpere 5 - Creating a Schedule task

This is something I have been using a fair bit over the last month to help stop having to dial in late at night.

In your vSphere Client connect to your vCentre server and go to:-

Home > Management > Scheduled Tasks 

Click on the "new" button and select the task you would like to preform:-














In this example I have picked "Create a snapshot of a virtual machine" I have select the virtual machine I would like to snapshot.

Enter name that will appear manager

 This name will appear in the "Scheduled Tasks", and fill in when you would like it to run:-

If you want it to email you once it has complete fill this section in with an email address (SMTP will need to be configured to do this):-
Click finish to complete:-


When the job has completed you will see the "last run" section is populated.

Thanks
Mark

Sunday, 14 July 2013

P2V - Post migration issue with NIC cards

Hello,

I have done quite a few Physical to Virtual (P2V) migrations over the years and one of the first "gotchya" was around P2V'ing a physical machine with a static IP address.

Once the physical machine had finished migrating, when starting the new VM (Virtual Machine) the original physical NIC still exists on the VM, with the IP assigned to it. If you try and add the same static IP to the new VMNic you will get a IP conflict message.

To delete the original hidden physical NIC (ghost NIC) follow the below:-

1. From the command prompt type: - set devmgr_show_nonpresent_devices = 1

2. Start the search. Type: - start devmgmt.msc

3. From the Device Manager list the devices: Select: - View > Show hidden devices.


4. De-install the listed devices: - Select the device and uninstall it from the Device Manager.

I hope this has helped.
Mark

Monday, 8 July 2013

Finding the Power Shell version

Open power shell and type either

$PSVersionTable or Get-Host ... take a look at the screen shot for each output.