Set-DPMGlobalProperty

Sets the global properties for a DPM installation.

Syntax

Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -IsNetworkChecksumRequired <Boolean>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -TruncateSharePointDbLogs <Boolean>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -LibraryRefreshInterval <Int32>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -AllowLocalDataProtection <Boolean>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -ExchangeSCRProtection <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -RegisteredWriters <Guid[]>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -ConsiderForAutoDeployment <Boolean>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -MaxCapacityForClientAutoDeployment <Int32>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -KnownVMMServers <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -HyperVPagefileExclusions <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-DPMGlobalProperty
   [[-DPMServerName] <String>]
   -DPMStorageVolumeExclusion <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-DPMGlobalProperty cmdlet sets the global properties for a System Center - Data Protection Manager (DPM) installation.

Examples

Example 1: Exclude page file VHDs

PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -HyperVPagefileExclusions "*_pagefile.vhd"

This command excludes all protected VHDs with names that include the string _pagefile.vhd on the server named Contoso-DPMServer.

Example 2: Exclude VHDs using wildcard expressions exclusions

PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -HyperVPagefileExclusions "*_pagefile.vhd,*mypgf*.vhd*"

This command excludes VHD files that include the strings mypgf and pagefile.vhd in their names.

Example 3: Remove all VHD exclusions

PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -HyperVPagefileExclusions ""

This command removes all existing exclusions by specifying an empty list for the HyperVPagefileExclusions parameter.

Example 4: Exclude a volume from being available for DPM

PS C:\>Set-DPMGlobalProperty -DPMServerName "Contoso-DPMServer" -DPMStorageVolumeExclusion "F:,C:\MountPoint1"

This command excludes F:\ and C:\MountPoint1 from being available to DPM as a storage volume.

Parameters

-AllowLocalDataProtection

Indicates whether a DPM server can protect data sources on the same computer on which it is installed.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConsiderForAutoDeployment

Indicates whether to consider a DPM server for client protection.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DPMServerName

Specifies the name of a DPM server on which this cmdlet acts.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DPMStorageVolumeExclusion

Specifies the names of volumes and mount points to exclude from being available to DPM as a storage target. To specify the names of multiple volumes or mount points, list them individually, separated by commas. Applicable SC 2016 DPM UR4 onwards.

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

-ExchangeSCRProtection

Specifies the name of a Microsoft Exchange Server Standby Continuous Replication (SCR) Server. To specify the names of multiple servers, list them individually, separated by commas.

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

-HyperVPagefileExclusions

Specifies the name of a virtual hard disk drive (VHD) pagefile to exclude from backup jobs for a firstref_virtualname data source. To specify the names of multiple VHD pagefiles, list them individually, separated by commas. This parameter also accepts wildcard values.

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

-IsNetworkChecksumRequired

Indicates whether to apply a checksum to verify data transferred over a network.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-KnownVMMServers

Specifies a vmm12sp1_long server that communicates with DPM to provide support for virtual machine mobility scenarios. If you specify this parameter, DPM stores the vmm12short server information and configures its services to communicate with the vmm12short.

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

-LibraryRefreshInterval

Specifies the refresh interval for gathering information about shared libraries.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-MaxCapacityForClientAutoDeployment

Specifies the maximum number of client computers that a DPM server can protect. Set this value to guarantee that DPM protects a reasonable number of client computers if auto-deployment is enabled by specifying the ConsiderForAutoDeployment parameter.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-RegisteredWriters

For internal use only.

Type:Guid[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TruncateSharePointDbLogs

Indicates whether to truncate SharePoint database logs during replication.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False