- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Updating Connection Server General settings
Hi Team,
I'm trying to set the value of disable blast secure gateway to False using PowerCLI . The code i'm trying to use is below
$ViewAPI = $global:DefaultHVServers.ExtensionData
$List = $ViewAPI.ConnectionServer.ConnectionServer_List().Id
$Update = new-object VMware.Hv.MapEntry
$update.key = "General.BypassTunnel"
$update.value = $False
$ViewAPI.ConnectionServer.ConnectionServer_Update($List,$update)
But when i try updating the BypassTunnel value, getting below error
$ViewAPI.ConnectionServer.ConnectionServer_Update($List,$update)
MethodInvocationException: Exception calling "ConnectionServer_Update" with "2" argument(s): "ExceptionType : VMware.Hv.InvalidArgument
ErrorMessage : Invalid member name.
ParameterName : BypassTunnel"
Any help to fix this error is highly appreciated
Regards,
Sajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Running into this same issues, did you ever figure out a resolution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not yet.. Are you getting similar error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, getting the same error as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you got a fix for this error
Regards,
Sajith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mapentry was always a pita so I never used it. I would recommend using the rest api, way easier.
Previously known as Magneet or Magneet_NL, does things with Horizon api's, see www.retouw.nl