Get-CMConflictingRecord
Get-CMConflictingRecord
Gets conflicting Configuration Manager record objects.
Syntax
Parameter Set: SearchByName
Get-CMConflictingRecord [-Name <String> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMConflictingRecord -Id <String> [ <CommonParameters>]
Detailed Description
The Get-CMConflictingRecord cmdlet gets one or more conflicting Microsoft System Center 2012 SP1 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.
Parameters
-Id<String>
Specifies an ID for the conflicting records.
Aliases |
Smsid |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies a name for the conflicting records.
Aliases |
AgentName |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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: Get all conflicting records
This command gets all the unresolved conflicts for Configuration Manager.
PS C:\> Get-CMConflictingRecord
Example 2: Get a named conflicting record
This command gets a conflict named CR07.
PS C:\> Get-CMConflictingRecord -Name "CR07"