Export (0) Print
Expand All
Expand Minimize

Remove-CMDistributionPoint

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Remove-CMDistributionPoint

Removes a distribution point.

Syntax

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

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




Detailed Description

The Remove-CMDistributionPoint cmdlet removes a distribution point. When you remove a distribution point, you remove the designation of a site system server to function as a distribution center for content files for applications, packages, software updates, and operating system deployment.

Parameters

-Force

Removes the distribution point without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies a CMDistributionPoint object. To obtain a CMDistributionPoint object, use the Get-CMDistributionPoint 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 that is associated with the distribution point.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String>

Specifies a fully qualified domain name (FQDN) of the server that hosts the 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 a distribution point by using a site code and site system role

This command removes the distribution point that is associated with the site code Cm1 and the site system role named CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM.


PS C:\> Remove-CMDistributionPoint -SiteSystemName "CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM" -SiteCode "Cm1"

Example 2: Remove a distribution point by using an object variable

The first command gets a distribution that is associated with the site code St1 and the site system role named PptCmdv-1.DIST01.CORP.CONTOSCO.com. The command stores the results to the $Di variable.

The second command removes the distribution point stored in the $Di variable.


PS C:\> $Di = Get-CMDistributionPoint -SiteSystemName "PptCmdv-1.DIST01.CORP.CONTOSCO.com" -SiteCode "St1"
PS C:\> Remove-CMDistributionPoint -InputObject $Di

Related topics

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