Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

Powercli for network adapters

$
0
0

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 180259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>