Added newVMDiscovery for vmdiscovery subcommand