Edit

Share via


Set-CMApplication

Configure the properties of an application.

Syntax

SetByValue (Default)

Set-CMApplication
    [-InputObject] <IResultObject>
    [-AddAppCatalog <AppDisplayInfo[]>]
    [-AddAppCategory <IResultObject[]>]
    [-AddOwner <String[]>]
    [-AddSupportContact <String[]>]
    [-AddUserCategory <IResultObject[]>]
    [-AppCategory <String[]>]
    [-ApplyToLanguageById <Int32>]
    [-AutoInstall <Boolean>]
    [-CleanAppCategory]
    [-CleanUserCategory]
    [-ClearAppCatalog]
    [-ClearOwner]
    [-ClearSupportContact]
    [-DefaultLanguageId <Int32>]
    [-Description <String>]
    [-DisplaySupersedenceInApplicationCatalog <Boolean>]
    [-DistributionPointSetting <DistributionPointSettingType>]
    [-DistributionPriority <DistributionPriorityType>]
    [-IconLocationFile <String>]
    [-IsFeatured <Boolean>]
    [-Keyword <String[]>]
    [-LinkText <String>]
    [-LocalizedApplicationName <String>]
    [-LocalizedDescription <String>]
    [-NewName <String>]
    [-OptionalReference <String>]
    [-Owner <String>]
    [-PassThru]
    [-PrivacyUrl <String>]
    [-Publisher <String>]
    [-ReleaseDate <DateTime>]
    [-RemoveAppCatalog <Int32[]>]
    [-RemoveAppCategoryName <String[]>]
    [-RemoveOwner <String[]>]
    [-RemoveSupportContact <String[]>]
    [-RemoveUserCategoryName <String[]>]
    [-SendToProtectedDistributionPoint <Boolean>]
    [-SoftwareVersion <String>]
    [-SupportContact <String>]
    [-UserCategory <String[]>]
    [-UserDocumentation <String>]
    [-DisableWildcardHandling]
    [-ForceWildcardHandling]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

SetById

Set-CMApplication
    [-Id] <Int32>
    [-AddAppCatalog <AppDisplayInfo[]>]
    [-AddAppCategory <IResultObject[]>]
    [-AddOwner <String[]>]
    [-AddSupportContact <String[]>]
    [-AddUserCategory <IResultObject[]>]
    [-AppCategory <String[]>]
    [-ApplyToLanguageById <Int32>]
    [-AutoInstall <Boolean>]
    [-CleanAppCategory]
    [-CleanUserCategory]
    [-ClearAppCatalog]
    [-ClearOwner]
    [-ClearSupportContact]
    [-DefaultLanguageId <Int32>]
    [-Description <String>]
    [-DisplaySupersedenceInApplicationCatalog <Boolean>]
    [-DistributionPointSetting <DistributionPointSettingType>]
    [-DistributionPriority <DistributionPriorityType>]
    [-IconLocationFile <String>]
    [-IsFeatured <Boolean>]
    [-Keyword <String[]>]
    [-LinkText <String>]
    [-LocalizedApplicationName <String>]
    [-LocalizedDescription <String>]
    [-NewName <String>]
    [-OptionalReference <String>]
    [-Owner <String>]
    [-PassThru]
    [-PrivacyUrl <String>]
    [-Publisher <String>]
    [-ReleaseDate <DateTime>]
    [-RemoveAppCatalog <Int32[]>]
    [-RemoveAppCategoryName <String[]>]
    [-RemoveOwner <String[]>]
    [-RemoveSupportContact <String[]>]
    [-RemoveUserCategoryName <String[]>]
    [-SendToProtectedDistributionPoint <Boolean>]
    [-SoftwareVersion <String>]
    [-SupportContact <String>]
    [-UserCategory <String[]>]
    [-UserDocumentation <String>]
    [-DisableWildcardHandling]
    [-ForceWildcardHandling]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

SetByModelName

Set-CMApplication
    -ModelName <String>
    [-AddAppCatalog <AppDisplayInfo[]>]
    [-AddAppCategory <IResultObject[]>]
    [-AddOwner <String[]>]
    [-AddSupportContact <String[]>]
    [-AddUserCategory <IResultObject[]>]
    [-AppCategory <String[]>]
    [-ApplyToLanguageById <Int32>]
    [-AutoInstall <Boolean>]
    [-CleanAppCategory]
    [-CleanUserCategory]
    [-ClearAppCatalog]
    [-ClearOwner]
    [-ClearSupportContact]
    [-DefaultLanguageId <Int32>]
    [-Description <String>]
    [-DisplaySupersedenceInApplicationCatalog <Boolean>]
    [-DistributionPointSetting <DistributionPointSettingType>]
    [-DistributionPriority <DistributionPriorityType>]
    [-IconLocationFile <String>]
    [-IsFeatured <Boolean>]
    [-Keyword <String[]>]
    [-LinkText <String>]
    [-LocalizedApplicationName <String>]
    [-LocalizedDescription <String>]
    [-NewName <String>]
    [-OptionalReference <String>]
    [-Owner <String>]
    [-PassThru]
    [-PrivacyUrl <String>]
    [-Publisher <String>]
    [-ReleaseDate <DateTime>]
    [-RemoveAppCatalog <Int32[]>]
    [-RemoveAppCategoryName <String[]>]
    [-RemoveOwner <String[]>]
    [-RemoveSupportContact <String[]>]
    [-RemoveUserCategoryName <String[]>]
    [-SendToProtectedDistributionPoint <Boolean>]
    [-SoftwareVersion <String>]
    [-SupportContact <String>]
    [-UserCategory <String[]>]
    [-UserDocumentation <String>]
    [-DisableWildcardHandling]
    [-ForceWildcardHandling]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

SetByName

Set-CMApplication
    [-Name] <String>
    [-AddAppCatalog <AppDisplayInfo[]>]
    [-AddAppCategory <IResultObject[]>]
    [-AddOwner <String[]>]
    [-AddSupportContact <String[]>]
    [-AddUserCategory <IResultObject[]>]
    [-AppCategory <String[]>]
    [-ApplyToLanguageById <Int32>]
    [-AutoInstall <Boolean>]
    [-CleanAppCategory]
    [-CleanUserCategory]
    [-ClearAppCatalog]
    [-ClearOwner]
    [-ClearSupportContact]
    [-DefaultLanguageId <Int32>]
    [-Description <String>]
    [-DisplaySupersedenceInApplicationCatalog <Boolean>]
    [-DistributionPointSetting <DistributionPointSettingType>]
    [-DistributionPriority <DistributionPriorityType>]
    [-IconLocationFile <String>]
    [-IsFeatured <Boolean>]
    [-Keyword <String[]>]
    [-LinkText <String>]
    [-LocalizedApplicationName <String>]
    [-LocalizedDescription <String>]
    [-NewName <String>]
    [-OptionalReference <String>]
    [-Owner <String>]
    [-PassThru]
    [-PrivacyUrl <String>]
    [-Publisher <String>]
    [-ReleaseDate <DateTime>]
    [-RemoveAppCatalog <Int32[]>]
    [-RemoveAppCategoryName <String[]>]
    [-RemoveOwner <String[]>]
    [-RemoveSupportContact <String[]>]
    [-RemoveUserCategoryName <String[]>]
    [-SendToProtectedDistributionPoint <Boolean>]
    [-SoftwareVersion <String>]
    [-SupportContact <String>]
    [-UserCategory <String[]>]
    [-UserDocumentation <String>]
    [-DisableWildcardHandling]
    [-ForceWildcardHandling]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Use the Set-CMApplication cmdlet to configure the settings of an application.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Reconfigure the properties of an application

The first command gets the application object named Application01. The next two commands use the Get-CMCategory cmdlet to get objects for a user and administrator category. The Set-CMApplication cmdlet then sets the specified properties on Applicaton01.

$app = Get-CMApplication -Name "Application01"
$userCat = Get-CMCategory -Name "Test Applications" -CategoryType CatalogCategories
$adminCat = Get-CMCategory -Name "Testing" -CategoryType AppCategories

Set-CMApplication -InputObject $app -NewName "Application01_New" -Description "Application updated" -Publisher "Test group" -SoftwareVersion "1.0.0.1" -OptionalReference "Reference" -ReleaseDate 2/24/2016 -AutoInstall $True -Owner "jqpublic" -SupportContact "jqpublic" -LocalizedApplicationName "Localized Application01" -UserDocumentation "https://contoso.com/content" -LinkText "For more info" -LocalizedDescription "Localized Application New" -Keyword "Application" -PrivacyUrl "https://contoso.com/privacy" -IsFeatured $True -IconLocationFile "C:\Users\art\icon.png" -DistributionPriority Medium -SendToProtectedDistributionPoint $True -DistributionPointSetting NoDownload -AddUserCategory $userCat -AddAppCategory $adminCat

Parameters

-AddAppCatalog

Use this parameter to specify a Software Center entry for a specific language. This entry can include all of the localized information about the app:

  • Description
  • IconLocationFile
  • Keyword
  • LinkText
  • PrivacyUrl
  • Title
  • UserDocumentation

To get this object, use the New-CMApplicationDisplayInfo cmdlet.

Parameter properties

Type:

AppDisplayInfo[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:AppCatalogs

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AddAppCategory

Specify one or more administrative category objects to help you filter and find the app in the console. To get these objects, use the Get-CMCategory cmdlet. These categories are of type AppCategories.

To add categories to help users filter and find applications in Software Center, use the AddUserCategory parameter.

Parameter properties

Type:

IResultObject[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:AddAppCategories

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AddOwner

Specify one or more administrative users who are responsible for this app.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:AddOwners

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AddSupportContact

Specify one or more administrative users that end users can contact for help with this application.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:AddSupportContacts

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AddUserCategory

Specify one or more user category objects to help you filter and find the app group in the console. To get these objects, use the Get-CMCategory cmdlet. These categories are of type CatalogCategories.

To add categories to help users filter and find applications in Software Center, use the AddAppCategory parameter.

Parameter properties

Type:

IResultObject[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:AddUserCategories

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AppCategory

This parameter is deprecated, use -AddAppCategory.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:AppCategories

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ApplyToLanguageById

For settings that display in Software Center, use this parameter to specify the language ID for the settings.

This ID is the decimal equivalent of the Windows language ID. For example, 1033 is 0x0409 for English (United States), and 2108 is 0x083C for Irish (Ireland). For more information, see [MS-LCID]: Windows Language Code Identifier (LCID) Reference.

For example, to add a localized app name for Irish (Ireland):

-ApplyToLanguageById 2108 -LocalizedName "Fáilte romhat"

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ApplySettingToSpecificLanguage

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AutoInstall

Set this parameter to $true to allow the app to be installed from the Install Application task sequence step without being deployed.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CleanAppCategory

Add this parameter to remove all administrative categories. To remove a single category, use the RemoveAppCategory parameter.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CleanAppCategories

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CleanUserCategory

Add this parameter to remove all user categories. To remove a single category, use the RemoveUserCategory parameter.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CleanUserCategories

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ClearAppCatalog

Add this parameter to remove all localized Software Center entries. To remove a single entry, use the RemoveAppCatalog parameter.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ClearAppCatalogs, CleanAppCatalog, CleanAppCatalogs

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ClearOwner

Add this parameter to remove all owners. To remove a single owner, use the RemoveOwner parameter.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CleanOwners

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ClearSupportContact

Add this parameter to remove all support contacts. To remove a single contact, use the RemoveSupportContact parameter.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CleanSupportContacts

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultLanguageId

Specify the language ID for the default Software Center language.

This ID is the decimal equivalent of the Windows language ID. For example, 1033 is 0x0409 for English (United States), and 2108 is 0x083C for Irish (Ireland). For more information, see [MS-LCID]: Windows Language Code Identifier (LCID) Reference.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

Specify an optional administrator comment for the app. The maximum length is 2048 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplaySupersedenceInApplicationCatalog

While the application catalog is no longer supported, you can still use this parameter to allow users to see in Software Center deployments for this application and all applications that it supersedes.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False
Aliases:DisplaySupersedencesInApplicationCatalog

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DistributionPointSetting

Specify the prestaged distribution point settings:

  • AutoDownload: Automatically download content when packages are assigned to distribution points.

  • DeltaCopy: Download only content changes to distribution points.

  • NoDownload: Manually copy the content in this package to distribution points.

Parameter properties

Type:DistributionPointSettingType
Default value:None
Accepted values:AutoDownload, DeltaCopy, NoDownload
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DistributionPriority

Specify the order in which the site sends the content to other sites and the distribution points in this site.

The site sends high priority content before content with medium or low priority. Content with equal priority are sent in the order in which they're created.

Parameter properties

Type:DistributionPriorityType
Default value:None
Accepted values:High, Medium, Low
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IconLocationFile

Specify the path to the file that contains the icon for this app. Icons can have pixel dimensions of up to 512x512. The file can be of the following image and icon file types:

  • DLL
  • EXE
  • JPG
  • ICO
  • PNG

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

Specify the ID of the app to configure. This value is the same as the CI_ID, for example 1025866.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CIId, CI_ID

Parameter sets

SetById
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Specify an app object to configure. To get this object, use the Get-CMApplication cmdlet.

Parameter properties

Type:IResultObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Application

Parameter sets

SetByValue
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-IsFeatured

Set this parameter to $true to display this application as a featured app and highlight it in the Company Portal.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Keyword

Specify a list of keywords in the selected language. These keywords help Software Center users search for the app group.

Tip

To add multiple keywords, use CultureInfo.CurrentCulture.TextInfo.ListSeparator as the delimiter.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:Keywords

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LinkText

When you use the UserDocumentation parameter, use this parameter to show a string in place of "Additional information" in Software Center. The maximum length is 128 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LocalizedApplicationName

Specify the app name in the selected language. This name appears in Software Center.

A name is required for each language that you add.

The maximum length is 256 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LocalizedDescription

Specify a description for this app in the selected language. The maximum length is 2048 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:LocalizedApplicationDescription

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ModelName

Specify the application model identifier of the app to configure. This value is also known as the CI Unique ID. For example, ScopeId_0D7D8B60-F2F9-484A-B9F3-4A8B68D14D59/ApplicationGroup_047fbf05-55f4-42ab-9581-e63fd0337fed.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SetByModelName
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specify the name of the app to configure.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:LocalizedDisplayName, ApplicationName

Parameter sets

SetByName
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-NewName

Use this parameter to rename the app. The maximum length is 256 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-OptionalReference

Specify an optional string to help you find the app in the console. The maximum length is 256 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Owner

Specify an administrative user who's responsible for this app.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PassThru

Add this parameter to return an object that represents the item with which you're working. By default, this cmdlet may not generate any output.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PrivacyUrl

Specify a website address to the privacy statement for the app. The format needs to be a valid URL, for example https://contoso.com/privacy. The maximum length of the entire string is 128 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Publisher

Specify optional vendor information for this app. The maximum length is 256 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Manufacturer

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReleaseDate

Specify a date object for when this app was released. To get this object, use the Get-Date built-in cmdlet.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveAppCatalog

Specify an array of language IDs to remove the associated Software Center entries. To remove all entries, use the ClearAppCatalog parameter.

This ID is the decimal equivalent of the Windows language ID. For example, 1033 is 0x0409 for English (United States), and 2108 is 0x083C for Irish (Ireland). For more information, see [MS-LCID]: Windows Language Code Identifier (LCID) Reference.

For example, to remove the localized Software Center entry for Irish (Ireland):

-RemoveAppCatalog 2108

Parameter properties

Type:

Int32[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:RemoveAppCatalogsByLanguageId

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveAppCategoryName

Specify an array of administrative category names to remove. To remove all administrative categories, use the CleanAppCategory parameter.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:RemoveAppCategoryNames

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveOwner

Specify an array of owners to remove. To remove all owners, use the ClearOwner parameter.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:RemoveOwners

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveSupportContact

Specify an array of support contacts to remove. To remove all support contacts, use the ClearSupportContact parameter.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:RemoveSupportContacts

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveUserCategoryName

Specify an array of user category names to remove. To remove all user categories, use the CleanUserCategory parameter.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:RemoveUserCategoryNames

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SendToProtectedDistributionPoint

Indicates whether to copy this application to protected distribution points.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SoftwareVersion

Specify an optional version string for the app. The maximum length is 64 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SupportContact

Specify an administrative user that end users can contact for help with this application.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserCategory

This parameter is deprecated, use -AddUserCategory.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:UserCategories

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserDocumentation

Specify the location of a file from which Software Center users can get more information about this app. This location is a website address, or a network path and file name. Make sure that users have access to this location.

The maximum length of the entire string is 256 characters.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

IResultObject

Notes

For more information on this return object and its properties, see SMS_Application server WMI class.