# Set-RASAppPackage

## NAME

Set-RASAppPackage

## SYNOPSIS

Modifies the properties of an application package.

## SYNTAX

**Set-RASAppPackage** \[-[Id](#Id)] _\<uint>_ \[-[DisplayName](#DisplayName) _\<string>_] \[-[Enabled](#Enabled) _\<bool>_] \[-[TagId1](#TagId1) _\<bool>_] \[-[TagId2](#TagId2) _\<bool>_] \[-[TagId3](#TagId3) _\<bool>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Set-RASAppPackage** \[-[InputObject](#InputObject)] _<_[_AppPackage_](../classes-and-enumerations/apppackage)_>_ \[-[DisplayName](#DisplayName) _\<string>_] \[-[Enabled](#Enabled) _\<bool>_] \[-[TagId1](#TagId1) _\<bool>_] \[-[TagId2](#TagId2) _\<bool>_] \[-[TagId3](#TagId3) _\<bool>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Set-RASAppPackage** \[-[Name](#Name)] _\<string>_ \[\[-[SiteId](#SiteId)] _\<uint>_] \[-[DisplayName](#DisplayName) _\<string>_] \[-[Enabled](#Enabled) _\<bool>_] \[-[TagId1](#TagId1) _\<bool>_] \[-[TagId2](#TagId2) _\<bool>_] \[-[TagId3](#TagId3) _\<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**](../classes-and-enumerations/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](../classes-and-enumerations/apppackage)

## OUTPUTS

[AppPackage](../classes-and-enumerations/apppackage)

## EXAMPLES

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

Set-RASAppPackage -Name App1 -DisplayName Application1

Modifies the displayName of the application package with the name App1.\
&#xNAN;**---------- 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)
