Export (0) Print
Expand All
Expand Minimize

Remove-CMApplicationCatalogWebSitePoint

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Remove-CMApplicationCatalogWebSitePoint

Removes a Configuration Manager Application Catalog website point.

Syntax

Parameter Set: SearchByNameMandatory
Remove-CMApplicationCatalogWebSitePoint -SiteCode <String> -SiteSystemServerName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Remove-CMApplicationCatalogWebSitePoint -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Remove-CMApplicationCatalogWebSitePoint cmdlet removes an Application Catalog website point in Microsoft System Center 2012 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.

Parameters

-Force

Performs the action without a confirmation message.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies the site code for a Configuration Manager site.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String>

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Remove an Application Catalog website point

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.


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

Example 2: Remove an Application Catalog website point by using a variable

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.


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

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft