Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 197225

Re: power-on network adapters script

$
0
0

That did it I just added the login creds to get connected to the script like this.

 

$cred = Get-Credential

Connect-VIServer vcenter -Credential $cred

Get-Cluster -Name viewcluster | Get-VM rdclient* | Get-NetworkAdapter |

where {!$_.ConnectionState.StartConnected} |

Set-NetworkAdapter -Connected:$true -StartConnected:$true -Confirm:$false


Viewing all articles
Browse latest Browse all 197225

Trending Articles