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

Re: How to script changing IP and hostname on 600 Windows 2008 R2 (64bit) VM's

$
0
0

Success, that did the trick.  Just to keep things clean, I did receive the following, even though the command worked.

 

The system cannot find the file specified.

 

 

 

 

'.   

At line:1 char:141

+ Get-vm -Name rickpo-test | Get-VMGuestNetworkInterface -GuestUser Administrator -GuestPassword Passw0rd | Set-VMGuestNetworkInterface <<<<  -GuestUser Administrator -GuestPassword Passw0rd -IPPolicy Static 10.10.10.10 -Netmask 255.255.255.0 -Gateway 10.10.10.1

 

    + CategoryInfo          : InvalidArgument: (:) [Set-VMGuestNetworkInterface], ViError

    + FullyQualifiedErrorId : Client20_VmGuestService_SetVmGuestNetworkInterface_Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.SetVmGuestNetworkInterface

 

Is there something that can be done to prevent this error?  Not sure what it is trying to do.  There is only one interface on each VM.

 

thank you again.

 

Rick


Viewing all articles
Browse latest Browse all 192300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>