Add-RASPubAppFileExt

NAME

Add-RASPubAppFileExt

SYNOPSIS

Adds a file extension for the specified published application.

SYNTAX

Add-RASPubAppFileExt [Id]** (uint) -Extension (string) [SiteId (uint)] [(CommonParameters)]

Add-RASPubAppFileExt [-InputObject] (PubItem) -Extension (string) [SiteId (uint)] [(CommonParameters)]

DESCRIPTION

This cmdlet only allows you to add a file extension.

To modify other file extensions, use the Set-RASPubAppFileExt cmdlet.

PARAMETERS

Extension (string)

The file extension that will be added/modified.

Id (uint)

Published resource ID.

InputObject (PubItem)

An object specifying the published resource.

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

SiteId (uint)

Site ID.

(CommonParameters)

INPUTS

PubItem

OUTPUTS

-none-

EXAMPLES

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

Add-RASPubAppFileExt -Id 3 -Extension "txt"

Adds the specified file extension for the resource specified by ID.

Last updated