with -getcredentials we passed this but now at this stage.
Set-VMGuestNetworkInterface : Cannot bind parameter 'VmGuestNetworkInterface'. Cannot convert the "Public" value of type "System.String" to type "VMware.VimAutomat
with -getcredentials we passed this but now at this stage.