Remove-RASPubItemPreferredRoute
Removes a preferred route from the specified published resource.
Remove-RASPubItemPreferredRoute [-Id] <uint> -PreferredRouteId <uint> [-SiteId <uint>] [<CommonParameters>]
Remove-RASPubItemPreferredRoute [-InputObject] <PubItem> -PreferredRouteId <uint> [-SiteId <uint>] [<CommonParameters>]
This cmdlet removes a preferred route from the specified published resource.
-PreferredRouteId <uint> The ID of the Preferred Route to be removed.
-Id <uint> Published resource ID.
-InputObject <PubItem> An object specifying the published resource.
To obtain the object, use the Get-PubItem cmdlet.
-SiteId <uint> Site ID.
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Remove-RASPubItemPreferredRoute -Id 12 -PreferredRouteId 1
Removes the preferred route with ID 1 from the published resource with ID 12.