Remove-RASPubItemPreferredRoute
SYNOPSIS
Removes a preferred route from the specified published resource.
SYNTAX
Remove-RASPubItemPreferredRoute [-Id] <uint> -PreferredRouteId <uint> [-SiteId <uint>]
[<CommonParameters>]Remove-RASPubItemPreferredRoute [-InputObject] <PubItem> -PreferredRouteId <uint> [-SiteId <uint>]
[<CommonParameters>]DESCRIPTION
This cmdlet removes a preferred route from the specified published resource.
EXAMPLES
Example 1
Remove-RASPubItemPreferredRoute -Id 12 -PreferredRouteId 1Removes the preferred route with ID 1 from the published resource with ID 12.
PARAMETERS
-PreferredRouteId
The ID of the Preferred Route to be removed.
-Id
Published resource ID.
-InputObject
An object specifying the published resource.
To obtain the object, use the Get-PubItem cmdlet.
Type reference: PubItem
-SiteId
Site ID.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
PubItem
OUTPUTS
None
RELATED LINKS
Last updated