Remove-CMApplicationCatalogWebSitePoint

Remove-CMApplicationCatalogWebSitePoint

Removes a Configuration Manager Application Catalog website point.

構文

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

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

詳細説明

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.

パラメーター

-Force

Performs the action without a confirmation message.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-InputObject<IResultObject>

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

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SiteCode<String>

Specifies the site code for a Configuration Manager site.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SiteSystemServerName<String>

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

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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

関連トピック

Add-CMApplicationCatalogWebsitePoint

Get-CMApplicationCatalogWebsitePoint

Set-CMApplicationCatalogWebsitePoint