Remove-​CM​Multicast​Service​Point

Removes a multicast service point.

Syntax

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

Description

The Remove-CMMulticastServicePoint cmdlet removes the multicast service point and disables multicast for the distribution point.

Examples

Example 1: Remove a multicast service point by using the pipeline

PS C:\> Get-CMMulticastServicePoint -SiteSystemServerName "server1.contoso.com" -SiteCode "PS1" | Remove-CMMulticastServicePoint -RemoveWds -Force

This command gets the multicast service point object with the site system server name of server1.contoso.com and site code PS1 and uses the pipeline operator to pass the object to Remove-CMMulticastServicePoint, which removes the multicast service point and WDS. Using the Force parameter indicates that the user is not prompted for confirmation before the command runs.

Example 2: Remove a multicast service point

PS C:\> Remove-CMMulticastServicePoint -SiteSystemServerName "server1.contoso.com" -SiteCode "PS1" -RemoveWds -Force

This command removes the multicast service point with the site system server name of server1.contoso.com and site code PS1. The command removes WDS, and by specifying the Force parameter, does not prompt the user for confirmation before the command runs.

Required Parameters

-InputObject

Specifies a multicast service point object. To obtain a multicast service point object, use the Get-CMMulticastServicePoint cmdlet.

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

Specifies the name of the 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

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

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

Indicates that Windows Deployment Services (WDS) is removed. WDS cannot be removed if the PXE role is still present on the distribution point. The default is to remove WDS.

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

Specifies the site code for the Configuration Manager site that hosts the site system role.

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