Set-RASPubAppFileExt
SYNOPSIS
Modifies file extensions of the specified published App.
SYNTAX
Set-RASPubAppFileExt [-Id] <uint> -Extension <string> [-Enabled <bool>] [-Parameters <string>]
[-SiteId <uint>] [<CommonParameters>]Set-RASPubAppFileExt [-InputObject] <PubItem> -Extension <string> [-Enabled <bool>]
[-Parameters <string>] [-SiteId <uint>] [<CommonParameters>]DESCRIPTION
This cmdlet modifies file extension settings of the specified published App.
To add file extensions, use the Add-RASPubAppFileExt cmdlet.
EXAMPLES
Example 1
Set-RASPubAppFileExt -Id 3 -Extension "txt" -Enabled $falseDisables the file extension of name 'txt' for the published app specified by ID.
PARAMETERS
-Enabled
Whether the file extension should be enabled or disabled for the specified published app.
-Parameters
File extension parameters for the specified published app.
-Extension
The file extension that will be added/modified.
-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