VMware Employee
VMware Employee

How to register vm in vcenter use power-cli ,while can use remove-vm to disconnect vm and vcenter .

How to register vm in vcenter to add it to the inventory use power-cli ,while can use remove-vm to disconnect vm and vcenter  with  deletePermanently parameter

DeletePermanentlySwitchParameterIndicates that you want to delete the virtual machines not only from the inventory, but from the datastore.falsefalse
0 Kudos
1 Reply
Leadership
Leadership

You can use New-VM with the VMFilePath parameter.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos