Remove-​CM​Application​Catalog​Website​Point

Removes a Configuration Manager Application Catalog website point.

Syntax

Remove-CMApplicationCatalogWebsitePoint
      [-Confirm]
      [-DisableWildcardHandling]
      [-Force]
      [-ForceWildcardHandling]
      -InputObject <IResultObject>
      [-WhatIf]
      [<CommonParameters>]
Remove-CMApplicationCatalogWebsitePoint
      [-SiteSystemServerName] <String>
      [-Confirm]
      [-DisableWildcardHandling]
      [-Force]
      [-ForceWildcardHandling]
      [-SiteCode <String>]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-CMApplicationCatalogWebSitePoint cmdlet removes an Application Catalog website point in Microsoft System Center Configuration Manager. This site system role supports the Application Catalog website and the Software Library.

You can specify a website point to remove by site code and name of the server that hosts the role, or you can use the Get-CMApplicationCatalogWebsitePoint cmdlet to get a website point to remove.

Examples

Example 1: Remove an Application Catalog website point

PS C:\> Remove-CMApplicationCatalogWebsitePoint -SiteCode "CM2" -SiteSystemServerName "WesternACWP.Contoso.com"

This command removes an Application Catalog website point that belongs to the site that has the site code CM2. The computer named WesternACWP.Contoso.com hosts the point that the cmdlet removes.

Example 2: Remove an Application Catalog website point by variable

PS C:\> $CMACWP= Get-CMApplicationCatalogWebsitePoint -SiteCode "CM2" -SiteSystemServerName"WesternACWP.Contoso.com" 
PS C:\> Remove-CMApplicationCatalogWebsitePoint -InputObject $CMACWP -Force

The first command uses the Get-CMApplicationCatalogWebsitePoint cmdlet to get an Application Catalog website point hosted by the computer named WesternACWP.Contoso.com in the site that has the site code CM2, and stores it in the $CMACWP variable.

The second command removes the Application Catalog website point stores in the $CMACWP variable. The command includes the Force parameter. Therefore, the command does not prompt you for confirmation.

Required Parameters

-InputObject

Specifies an Application Catalog website point object. To get an Application Catalog website point object, use the Get-CMApplicationCatalogWebsitePoint cmdlet.

Type:IResultObject
Aliases:ApplicationCatalogWebSitePoint
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-SiteSystemServerName

Specifies the name of a server that hosts a site system role.

Type:String
Aliases:Name, ServerName
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SiteCode

Specifies the site code for a Configuration Manager site.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False