Set-RASPubItemFilter
SYNOPSIS
Modifies settings of the filter within a published resource of any type (folder, app, desktop).
SYNTAX
Set-RASPubItemFilter [-Id] <uint> [-Default {Deny | Allow}] [-SiteId <uint>] [<CommonParameters>]Set-RASPubItemFilter [-InputObject] <PubItem> [-Default {Deny | Allow}] [-SiteId <uint>]
[<CommonParameters>]DESCRIPTION
Modifies settings of the filter within a published resource.
A resource can be specified using either its name, ID, or an object containing the resource properties.
EXAMPLES
Example 1
Set-RASPubItemFilter 1 -Default DenyModifies the default filter of a published resource specified by ID to Deny.
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
RELATED LINKS
Last updated