# Set-RASAppPackage

## NAME

Set-RASAppPackage

## SYNOPSIS

Modifies the properties of an application package.

## SYNTAX

**Set-RASAppPackage** \[[Id](#id-string)] _(uint)_\*\*\
\[[DisplayName](#displayname-string) _(string)_]\
\[[Enabled](#enabled-string) _(bool)_]\
\[[TagId1](#tagid1-string) _(bool)_]\
\[[TagId2](#tagid2-string) _(bool)_]\
\[[TagId3](#tagid3-string) _(bool)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Set-RASAppPackage**\
\[-[InputObject](#inputobject)]_(_[_AppPackage_](../types/apppackage)_)_\
\[[DisplayName](#displayname-string) _(string)_]\
\[[Enabled](#enabled-string) _(bool)_]\
\[[TagId1](#tagid1-string) _(bool)_]\
\[[TagId2](#tagid2-string) _(bool)_]\
\[[TagId3](#tagid3-string) _(bool)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Set-RASAppPackage** \[[Name](#name-string)]\*\*_(string)_ \[\[-[SiteId](#siteid-string)] _(uint)_]\
\[[DisplayName](#displayname-string) _(string)_]\
\[[Enabled](#enabled-string) _(bool)_]\
\[[TagId1](#tagid1-string) _(bool)_]\
\[[TagId2](#tagid2-string) _(bool)_]\
\[[TagId3](#tagid3-string) _(bool)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Modifies the properties of an application package.

## PARAMETERS

## Name (string)

The package name of the application package.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID of the specified application package to modify.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of the application package to modify.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject ([AppPackage](../types/apppackage))

The application package to modify.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
```

## Enabled (bool)

Enable or disable the application package.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## DisplayName (string)

The new display name of the application package.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TagId1 (bool)

Enable or disable Tag with Id 1.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TagId2 (bool)

Enable or disable Tag with Id 2.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TagId3 (bool)

Enable or disable Tag with Id 3.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

[AppPackage](../types/apppackage)

## OUTPUTS

[AppPackage](../types/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.

## RELATED LINKS

* [New-RASAppPackage](new-rasapppackage)
* [Get-RASAppPackage](get-rasapppackage)
* [Remove-RASAppPackage](remove-rasapppackage)
