Try the Set-NetworkAdapter without the -connected and -networkname. I wouldn't think you could "connect" something that is powered off and you don't need to specify the networkname unless you want to change the port group.
↧
Try the Set-NetworkAdapter without the -connected and -networkname. I wouldn't think you could "connect" something that is powered off and you don't need to specify the networkname unless you want to change the port group.