This is the error getting with the Set-VMGuestNetworkInterface line Set-VMGuestNetworkInterface : 4/1/2013 4:01:04 PM Set-VMGuestNetworkInterface "Error occured while configuring the network:'Element not found.'. At C:\VMXNET3.ps1:35 char:28 + Set-VMGuestNetworkInterface <<<< -VMGuestNetworkInterface $nice -ippolicy Static -guestuser Administrator -guestpassword msn -Netmask $s ubnetmask -Gateway $gateway -ip $ip -dns $dns + CategoryInfo : InvalidArgument: (:) [Set-VMGuestNetworkInterface], ViError + FullyQualifiedErrorId : Client20_VmGuestService_SetVmGuestNetworkInterface_Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.SetVmG uestNetworkInterface