Open ananace opened 7 years ago
To replace cmdlet calls like Add-VMNetworkAdapter -ComputerName <host> -VMName <vm_name> -Switch <switch> With something more like;
Add-VMNetworkAdapter -ComputerName <host> -VMName <vm_name> -Switch <switch>
$VM = Get-VM -Id "<guid>" $VM | Add-VMNetworkAdapter -Switch <switch>
To replace cmdlet calls like
Add-VMNetworkAdapter -ComputerName <host> -VMName <vm_name> -Switch <switch>
With something more like;