Thank You LucD. I am progressing a lot.
Please help me with below issue pointing to? I am trying to return the value using the Get-VMGuestNetworkInterface and then use it in Set command.
Get-VMGuestNetworkInterface : 4/3/2013 5:20:58 PM Get-VMGuestNetworkInterface The guest authentication being used does not have sufficient permissions to
perform the operation.
At C:\Users\xxxxx\AppData\Local\Temp\8a929efc-647b-4ce9-bf5e-0b0d096ac567.ps1:1 char:28
+ Get-VMGuestNetworkInterface <<<< -VM atladminv01 -GuestUser xxxxx -GuestPassword xxxxx
+ CategoryInfo : NotSpecified: (:) [Get-VMGuestNetworkInterface], GuestPermissionDenied
+ FullyQualifiedErrorId : Client20_VmGuestServiceImpl_RunScriptInGuest_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVmGuestNetworkInterface
-Shyam