Merge-CMConflictingRecord

Merge-CMConflictingRecord

Merges a new Configuration Manager client record with a conflicting client record.

構文

Parameter Set: SearchBySiteCode
Merge-CMConflictingRecord -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Merge-CMConflictingRecord -Id <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Merge-CMConflictingRecord -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Merge-CMConflictingRecord cmdlet merges a new Microsoft System Center 2012 Configuration Manager client record with a conflicting client record that has the same hardware information.

When System Center 2012 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 System Center 2012 Configuration Manager to resolve conflicts automatically. For more information, see Configuring Settings for Client Management in Configuration Manager (https://go.microsoft.com/fwlink/?LinkId=269847) on TechNet.

You can specify conflicting records by using a name or ID or you can specify a site code to merge each of the unresolved conflicting records for that site.

パラメーター

-Id<String>

Specifies an ID for the conflicting records.

エイリアス

Smsid

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Name<String>

Specifies a name for the conflicting records.

エイリアス

AgentName

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-SiteCode<String>

Specifies a site code for a Configuration Manager site. This cmdlet merges the conflicting records for this site.

エイリアス

なし

必須?

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: Merge conflicting records for a site

This command merges each of the conflicting records for the specified System Center 2012 Configuration Manager site.

PS C:\> Merge-CMConflictingRecords -SiteCode "CM2"

Example 2: Merge records for a named conflict

This command merges the conflicting records named CR07.

PS C:\> Merge-CMConflictingRecords -Name "CR07"

関連トピック

Block-CMConflictingRecord

Get-CMConflictingRecord