New-DPMServerScope

New-DPMServerScope

Creates a DPM server scope object.

構文

Parameter Set: Default
New-DPMServerScope [[-DPMServerName] <String> ] [-ObjectType] <ScopedObjectType> {DpmServer | Datasource | ProtectionGroup | ProductionServer | Disk | Volume | Library | Drive | AdhocAction} [-ObjectId] <String[]> [-AlertType <AlertEnum> {NullType | AgentIncompatibleAlert | AgentUnreachableAlert | MediaVerificationFailedAlert | MediaEraseFailedAlert | DetailedInventoryFailedAlert | MediaDecommissionedAlert | MediaDataEraseAlert | FreeMediaThresholdAlert | DataSetCopyFailedAlert | BackupToTapeFailedAlert | BackupToTapeCatalogFailedAlert | LibraryDriveAlert | LibraryNotAvailableAlert | LibraryNotWorkingEfficientlyAlert | MediaRequiredAlert | ReplicaInitializationInProgressAlert | SynchronizationFailedAlert | StopProtectionFailedAlert | RecoveryInProgressAlert | RecoveryPartiallySuccessfulAlert | RecoverySuccessfulAlert | RecoveryFailedAlert | ShadowCopyFailedAlert | ReplicaInMissingStateAlert | ReplicaInInvalidStateAlert | PartialDeployedClusterAlert | AgentTaskFailAlert | SqmOptInAlert | DiskThresholdCrossedAlert | VerificationInProgressAlert | DiskMissingAlert | CatalogThresholdCrossedAlert | DatasetDataVerificationFailed | SCDiskThresholdCrossedAlert | ConfigureProtectionFailedAlert | ReplicaManualLoadPendingAlert | ReplicaInitializationPendingAlert | CertificateExpiringAlert | EvalShareInquiryAlert | ShadowCopyConsolidationRequired | PathChangedForShareAlert | BackupMetadataEnumerationFailedAlert | DuplicateDisksDetectedAlert | DataCorruptionDetectedAlert | DataCorruptionDetectedDuringReadAlert | StagingAreaRestoreInProgressAlert | StagingAreaRestorePartiallySuccessfulAlert | StagingAreaRestoreSuccessfulAlert | StagingAreaRestoreFailedAlert | AgentOwnershipRequiredAlert | AutoInstanceProtectionFailedAlert | AgentAttachFailedAlert | BackupSLAFailedAlert | DpmoRPCreationFailureAlert | DOCVolumeMissing | SharepointROAddedAlert | SharepointRORemovedAlert | PartialBackupSuccessAlert | GlobalDbNotAvailable | LibraryDevicesDisabledAlert | LdmWarningThresholdReachedAlert | LdmErrorThresholdReachedAlert | CertificateExpiryWarningAlert | CertificateExpiryErrorAlert | RecoveryFailedWarningAlert | ExternalAlert | OnlineBackupServiceUnreachableAlert | OnlineBackupPoliciesInconsistentAlert | CloudBackupFailedAlert | PartialCloudBackupSuccessAlert | SLAMissedAlert | OfflineInitialCloudBackupPendingAlert | RestoreDBAlert} ] [-DetailedErrorId <Int32> ] [-ErrorId <Int32> ] [ <CommonParameters>]

詳細説明

The New-DPMServerScope cmdlet creates a System Center 2012 – Data Protection Manager (DPM) server scope object. You can create a scoped DPM server connection by using the Connect-DPMServer cmdlet with a scope object.

パラメーター

-AlertType<AlertEnum>

Specifies the type of alert for the connection scope. The acceptable values for this parameter are:

-- RestoreDBAlert
-- NullType
-- AgentIncompatibleAlert
-- AgentUnreachableAlert
-- MediaVerificationFailedAlert
-- MediaEraseFailedAlert
-- DetailedInventoryFailedAlert
-- MediaDecommissionedAlert
-- MediaDataEraseAlert
-- FreeMediaThresholdAlert
-- DataSetCopyFailedAlert
-- BackupToTapeFailedAlert
-- BackupToTapeCatalogFailedAlert
-- LibraryDriveAlert
-- LibraryNotAvailableAlert
-- LibraryNotWorkingEfficientlyAlert
-- MediaRequiredAlert
-- ReplicaInitializationInProgressAlert
-- SynchronizationFailedAlert
-- StopProtectionFailedAlert
-- RecoveryInProgressAlert
-- RecoveryPartiallySuccessfulAlert
-- RecoverySuccessfulAlert
-- RecoveryFailedAlert
-- ShadowCopyFailedAlert
-- ReplicaInMissingStateAlert
-- ReplicaInInvalidStateAlert
-- PartialDeployedClusterAlert
-- AgentTaskFailAlert
-- SqmOptInAlert
-- DiskThresholdCrossedAlert
-- VerificationInProgressAlert
-- DiskMissingAlert
-- CatalogThresholdCrossedAlert
-- DatasetDataVerificationFailed
-- SCDiskThresholdCrossedAlert
-- ConfigureProtectionFailedAlert
-- ReplicaManualLoadPendingAlert
-- ReplicaInitializationPendingAlert
-- CertificateExpiringAlert
-- EvalShareInquiryAlert
-- ShadowCopyConsolidationRequired
-- PathChangedForShareAlert
-- BackupMetadataEnumerationFailedAlert
-- DuplicateDisksDetectedAlert
-- DataCorruptionDetectedAlert
-- DataCorruptionDetectedDuringReadAlert
-- StagingAreaRestoreInProgressAlert
-- StagingAreaRestorePartiallySuccessfulAlert
-- StagingAreaRestoreSuccessfulAlert
-- StagingAreaRestoreFailedAlert
-- AgentOwnershipRequiredAlert
-- AutoInstanceProtectionFailedAlert
-- AgentAttachFailedAlert
-- BackupSLAFailedAlert
-- DpmoRPCreationFailureAlert
-- DOCVolumeMissing
-- SharepointROAddedAlert
-- SharepointRORemovedAlert
-- PartialBackupSuccessAlert
-- GlobalDbNotAvailable
-- LibraryDevicesDisabledAlert
-- LdmWarningThresholdReachedAlert
-- LdmErrorThresholdReachedAlert
-- CertificateExpiryWarningAlert
-- CertificateExpiryErrorAlert
-- RecoveryFailedWarningAlert
-- ExternalAlert
-- OnlineBackupServiceUnreachableAlert
-- OnlineBackupPoliciesInconsistentAlert
-- CloudBackupFailedAlert
-- PartialCloudBackupSuccessAlert

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-DetailedErrorId<Int32>

Specifies an integer detailed error ID.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-DPMServerName<String>

Specifies the name of a DPM server.

エイリアス

none

必須?

false

位置は?

1

既定値

none

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

false

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

false

-ErrorId<Int32>

Specifies an integer error ID.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-ObjectId<String[]>

Specifies an array of identifiers for objects that scope a connection.

エイリアス

none

必須?

true

位置は?

3

既定値

none

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

false

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

false

-ObjectType<ScopedObjectType>

Specifies the type of objects defined in the ObjectId parameter. The object types and identifiers are the following:

-- Datasource. DatasourceID.
-- ProtectionGroup. ProtectionGroupID/ProtectionGroupName.
-- ProductionServer. ProductionServerID/ProductionServerName.
-- Disk. DiskID.
-- Volume. VolumeID.
-- Library. LibraryID.
-- Drive. DriveID.
-- AdhocAction. ActionID.
-- DPMServer. DPMServerName.

エイリアス

none

必須?

true

位置は?

2

既定値

none

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

false

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

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • For more information, type "Get-Help New-DPMServerScope -detailed".

Example 1: Create server scope for a connection

This example creates a connection to a DPM server.

The first command creates a server scope for the DPM server named DPMServer07, and stores that scope in the $ServerScope variable. The command specifies ProtectionGroup as the object type, with an object ID of Protection Group 01.

The second command uses the Connect-DPMServer cmdlet to create a connection that uses the server scope stored in the $ServerScope variable.

PS C:\> $ServerScope=New-DPMServerScope -DPMServerName "DPMServer07" -ObjectType ProtectionGroup -ObjectID "Protection Group 01"
PS C:\> $DPMServer=Connect-DPMServer -DPMServerScope $ServerScope

Example 2: Create server scope that has alerts specified

This example creates a connection to a DPM server.

The first command creates a server scope for the DPM server named DPMServer07, and stores that scope in the $ServerScope variable. The command specifies Datasource as the object type, with the specified object ID. The command also specifies an alert type and both detailed error ID and error ID.

The second command uses the Connect-DPMServer cmdlet to create a connection that has the server scope stored in the $ServerScope variable.

PS C:\> $ServerScope=New-DPMServerScope -DPMServerName "DPMServer07" -ObjectType Datasource -ObjectID 70fd1133-1bab-4178-8e8c-24d928b6b16c -AlertType BackupToTapeFailedAlert -DetailedErrorID 910 -ErrorID 3113 
PS C:\> $DPMServer=Connect-DPMServer -DPMServerScope $ServerScope

関連トピック

Connect-DPMServer