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.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? falseSiteId (uint)
Site ID of the specified application package to modify.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? falseId (uint)
The ID of the application package to modify.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? falseInputObject (AppPackage)
The application package to modify.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? falseEnabled (bool)
Enable or disable the application package.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseDisplayName (string)
The new display name of the application package.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseTagId1 (bool)
Enable or disable Tag with Id 1.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseTagId2 (bool)
Enable or disable Tag with Id 2.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseTagId3 (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
OUTPUTS
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
Last updated