Export (0) Print
Expand All
Expand Minimize

Save-CMDatabaseReplicationDiagnostic

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Save-CMDatabaseReplicationDiagnostic

Saves database replication diagnostic information for Configuration Manager in a file.

Syntax

Parameter Set: SearchBySiteMandatory
Save-CMDatabaseReplicationDiagnostic -ChildSiteCode <String> -FileName <String> -ParentSiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Save-CMDatabaseReplicationDiagnostic cmdlet saves diagnostic information for database replication issues for Microsoft System Center 2012 Configuration Manager in a specified file. This cmdlet runs diagnostics for a link between a parent and a child site databases. You can specify sites by either name or site code, but you cannot specify one site by name and the other by site code.

System Center 2012 Configuration Manager database replication transfers data and merges changes made in a site database with the information stored in other sites in the System Center 2012 Configuration Manager site hierarchy so that all sites share the same information. System Center 2012 Configuration Manager configures database replication automatically between a parent and child site. Diagnostics identify problems in database replication.

Parameters

-ChildSiteCode<String>

Specifies a site code for a Configuration Manager site. This is the child site.


Aliases

Site2

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-FileName<String>

Specifies a file name. This cmdlet saves database diagnostic information for database replication to this file.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ParentSiteCode<String>

Specifies a site code for a Configuration Manager site. This is the parent site.


Aliases

Site1

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: Save database replication diagnostic

This command saves database replication diagnostics in a file named CCB_CC2_Diagnostics.csv. The command specifies a parent and child site by using site codes.


PS C:\> Save-CMDatabaseReplicationDiagnostic -ChildSiteCode "CC2" -FileName "D:\Diagnostics\CCB_CC2_Diagnostics.csv" -ParentSiteCode "CCB" 

Related topics

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