VMware Cloud Community
ViCoS
Contributor
Contributor

EnvironmentBrowser cannot be error when setting networkname on virtual machines

Hi,

I'm trying to change the networknames of my virtual machines and I've got a simple command to do this:

Get-Cluster MyCluster | Get-VM | Get-NetworkAdapter | where { $_.NetworkName -eq "MyNet1" } | Set-NetworkAdapter -NetworkName "MyNet2"

However, this errors out with the following message:

Set-NetworkAdapter : 30/07/2009 12:14:36 Set-NetworkAdapter E6A12698-CD97-4035-8768-CADF756CDBA4 EnvironmentBrowser cannot be found.

At line: 1 char:118 + Get-Cluster MyCluster | Get-VM | Get-NetworkAdapter | where { $_.NetworkName -eq "MyNet1" } | Set-NetworkAdapter -NetworkName "MyNet2"

What is this EnvironmentBrowser?

thanks,

Chi

0 Kudos
1 Reply
LucD
Leadership
Leadership

The EnvironmentBrowser is one of the underlying objects in the VI/vSphere environment.

You seem to be the 2nd who reports this type of error.

See .

Perhaps someone from VMware would care to comment ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos