Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set-RASFileAccessFilter

SYNOPSIS

Modifies settings of the filter within a file access item.

SYNTAX

Set-RASFileAccessFilter [-Id] <uint> [-Default {Deny | Allow}] [-SiteId <uint>] [<CommonParameters>]
Set-RASFileAccessFilter [-InputObject] <PubItem> [-Default {Deny | Allow}] [-SiteId <uint>]
 [<CommonParameters>]

DESCRIPTION

Modifies settings of the filter within a file access item.

EXAMPLES

Example 1

Set-RASFileAccessFilter -Id 12 -Default Allow

Updates the default filter action for the specified file access item.

PARAMETERS

-Default

Whether the default assignment is allow or deny.

Possible values: Deny, Allow

Type reference: DefaultAssignmentType

-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

Last updated