Set-RASAppPackage

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.

        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> 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

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

© 2024 Parallels International GmbH. All rights reserved.