Quantcast
Viewing all articles
Browse latest Browse all 228891

Powercli for network adapters

1. I need to remove all network cards of a VM, the problem is I dont know how many network cards this VM has. Does anyone know how to write a script for it?

 

 

 

2. New-NetworkAdapter -VM $vm -NetworkName "VM Network" -WakeOnLan -StartConnected

     Is WakeOnLan enabled by default if I add the network card manually from VI Client?


Viewing all articles
Browse latest Browse all 228891

Trending Articles