Syntax
Remove-VMGuestRoute [-VMGuestRoute] <VMGuestRoute[]> [-ToolsWaitSecs <Int32>] [-GuestPassword <SecureString>] [-GuestUser <String>] [-GuestCredential <PSCredential>] [-HostPassword <SecureString>] [-HostUser <String>] [-HostCredential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Online versionDetailed Description
Removes the specified routes from the routing table of their corresponding virtual machines. This cmdlet supports only Windows XP, Windows Server 2003, and Linux RedHat Enterprise 5. You can enhance this cmdlet to support other guest operating systems by modifying or adding custom scripts. The custom scripts are located in the "Scripts" folder in the PowerCLI installation directory and their names have the following format:Parameters
Return Type
noneNotes
Supported on ESX 3.5 Update 2 and newer. Consider that this functionality i s experimental.Examples
-------------- Example 1 --------------
Remove-VMGuestRoute -HostUser Admin -HostPassword pass1 -GuestUser user -GuestPassword pass2 -VMGuestRoute $route
Removes the guest route stored in the $route variablle.