added the delete to enable the delete of virtual machines from the console app