Get-CMConflictingRecord

Gets conflicting Configuration Manager record objects.

Syntax

Get-CMConflictingRecord
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Id <String>
   [<CommonParameters>]
Get-CMConflictingRecord [-DisableWildcardHandling] [-ForceWildcardHandling] [-Name ]
 []

Description

The Get-CMConflictingRecord cmdlet gets one or more conflicting Microsoft System Center Configuration Manager record objects.

When Configuration Manager recognizes a new client, it uses hardware information to check whether it previously created a record for that computer. For example, you might have reinstalled the operating system. The previous client record still exists with the same hardware information. If you manually resolve conflicts, you have the option to merge the new record with the existing record, create a new record, or create a record as a blocked record. You can also configure Configuration Manager to resolve conflicts automatically.

You can use this cmdlet with the Block-CMConflictingRecord cmdlet or the Merge-CMConflictingRecord cmdlet. You can get all the outstanding conflicts for Configuration Manager or specify a conflict by name or by ID.

Examples

Example 1: Get all conflicting records

PS C:\> Get-CMConflictingRecord

This command gets all the unresolved conflicts for Configuration Manager.

Example 2: Get a named conflicting record

PS C:\> Get-CMConflictingRecord -Name "CR07"

This command gets a conflict named CR07.

Required Parameters

-Id

Specifies an ID for the conflicting records.

Type:String
Aliases:Smsid
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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

Specifies a name for the conflicting records.

Type:String
Aliases:AgentName
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False