Add-PubItemIPFilter

NAME

Add-PubItemIPFilter

SYNOPSIS

Adds an IP address to the filter of type 'IP Address' for the specified published resource.

SYNTAX

Add-PubItemIPFilter [-InputObject] <PubItem> [-IP] <string> [-SiteId <uint>] [<CommonParameters>]

Add-PubItemIPFilter [-Id] <uint> [-IP] <string> [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

This cmdlet only allows you to add an IP address to the filter.

To modify other filter options, use the Set-PubItemIPFilter cmdlet.

PARAMETERS


-IP <string>
The IP address to add to the filter.

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

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

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

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

-Id <uint>
Published resource ID.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        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 ----------

Add-PubItemIPFilter -Id 12 -IP "10.0.0.5"

Adds the specified IP address to the filter for the published resource specified by ID.

---------- EXAMPLE 2 ----------

Add-PubItemIPFilter -Id 12 -IP "10.0.0.5-10.0.0.20"

Adds the specified IP address range to the filter for the published resource specified by ID.

RELATED LINKS