Set-RASAppPackage.md

NAME

Set-RASAppPackage

SYNOPSIS

Modifies the properties of an application package.

SYNTAX

Set-RASAppPackage [Id] (uint) [DisplayName (string)] [Enabled (bool)] [TagId1 (bool)] [TagId2 (bool)] [TagId3 (bool)] [(CommonParameters)]

**Set-RASAppPackage [-InputObject] (AppPackage) [DisplayName (string)] [Enabled (bool)] [TagId1 (bool)] [TagId2 (bool)] [TagId3 (bool)] [(CommonParameters)]

Set-RASAppPackage [Name] (string) [[-SiteId] (uint)] [DisplayName (string)] [Enabled (bool)] [TagId1 (bool)] [TagId2 (bool)] [TagId3 (bool)] [(CommonParameters)]

DESCRIPTION

Modifies the properties of an application package.

PARAMETERS

Name (string)

The package name of the application package.

SiteId (uint)

Site ID of the specified application package to modify.

Id (uint)

The ID of the application package to modify.

InputObject (AppPackage)

The application package to modify.

Enabled (bool)

Enable or disable the application package.

DisplayName (string)

The new display name of the application package.

TagId1 (bool)

Enable or disable Tag with Id 1.

TagId2 (bool)

Enable or disable Tag with Id 2.

TagId3 (bool)

Enable or disable Tag with Id 3.

(CommonParameters)

INPUTS

AppPackage

OUTPUTS

AppPackage

EXAMPLES

**---------- EXAMPLE 1 ----------

Set-RASAppPackage -Name App1 -DisplayName Application1

Modifies the displayName of the application package with the name App1. **---------- EXAMPLE 2 ----------

Set-RASAppPackage -Id 1 -Enabled $false

Disables the application package with ID 1.

Last updated