Remove-RASPubItemPreferredRoute

NAME

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.

PARAMETERS


-PreferredRouteId <uint>
The ID of the Preferred Route to be removed.

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint>
Published resource ID.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <PubItem>
An object specifying the published resource.

To obtain the object, use the Get-PubItem cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-SiteId <uint>
Site ID.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

PubItem

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Remove-RASPubItemPreferredRoute -Id 12 -PreferredRouteId 1

Removes the preferred route with ID 1 from the published resource with ID 12.

RELATED LINKS