Hi,
i want to switch a VM from one Network to another ( both exist on the host).
I know that i have to use something like the Set-Networkadapter -Networkname...
But how do i build the oneliner?
Thx in advance!
Chakoe
get-vm <VM-name> | get-networkadapter | set-networkadapter -NetworkName newNetwork
You can check Get-NetworkAdapter and Set-NetworkAdapter parameters and if they support values from the pipeline in the online help.
Regards,
Yasen
get-vm <VM-name> | get-networkadapter | set-networkadapter -NetworkName newNetwork
You can check Get-NetworkAdapter and Set-NetworkAdapter parameters and if they support values from the pipeline in the online help.
Regards,
Yasen