Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the protection options for the specified datasource.
Set-DatasourceProtectionOption [-AllowClientUserToAddFileSpecs] <Boolean> [-ProtectionGroup] <ProtectionGroup> [-Confirm] [-PassThru <SwitchParameter>] [<CommonParameters>]
Set-DatasourceProtectionOption [[-TopologyType] <ProtectionTopologyType>] -ExchangeOptions [-ProtectionGroup] <ProtectionGroup> [-BackupType <BackupType>] [-Confirm] [-Datasource <Datasource>] [-EseutilCheckType <EseutilTypeType>] [-PassThru <SwitchParameter>] [-PreferredPhysicalNode <String>] [-RunEseUtilConsistencyCheck] [<CommonParameters>]
Set-DatasourceProtectionOption [-FileType] <String> [-ProtectionGroup] <ProtectionGroup> -Remove [-Confirm] [-PassThru <SwitchParameter>] [<CommonParameters>]
Set-DatasourceProtectionOption [-ClientFileSpecOperation] <ClientFileSpecOperationType> [-Path] <String> [-ProtectionGroup] <ProtectionGroup> [-Confirm] [-PassThru <SwitchParameter>] [<CommonParameters>]
Set-DatasourceProtectionOption [-FileType] <String> -Add [-ProtectionGroup] <ProtectionGroup> [-Confirm] [-PassThru <SwitchParameter>] [<CommonParameters>]
Set-DatasourceProtectionOption [-AutoConsistencyCheck] <Boolean> [-ProtectionGroup] <ProtectionGroup> [-Confirm] [-PassThru <SwitchParameter>] [<CommonParameters>]
The Set-DatasourceProtectionOption cmdlet sets the protection options for the specified datasource.
Using the -Remove parameter allows you to exclude all files of a particular type from protection. For e.g., all mp3 files.
Using the -Add parameter allows you to remove any exclusions set using the -Remove parameter.
Using the -ExchangeOptions parameter allows you to set the protection options for an Exchange data source.
The path to a folder.
With Set-DatasourceProtectionOption, this indicates the path to add or remove from the include or exclude list.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
1 |
Indicates which folders to add or remove from the include or exclude list. This parameter can take the following values:
- AddInclude
- RemoveInclude
- AddExclude
- RemoveExclude
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
2 |
Indicates whether consistency check must be automatically run on the data sources of the protection group if the replica becomes inconsistent.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
1 |
Indicates whether the end user can specify which folders to protect.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
1 |
Indicates the file type to include or exclude in a protection.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
1 |
Applies to Microsoft Exchange Server 2007 cluster continuous replication only. The available topologies are Active, Passive, and Active if Passive Not Available.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
2 |
Adds a file exclusion on a protection group.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Indicates that the options that follow affect only Microsoft Exchange data sources.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
The name of a protection group.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
0 |
Indicates that a remove operation will be performed.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Indicates the type of backup. The valid values are CopyBackup and FullBackup.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Asks the user to confirm the action.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
A Windows file system share or volume, Microsoft SQL Server database, Microsoft Exchange storage group, Microsoft SharePoint farm, Microsoft Virtual Machine, DPM database, or system state that is a member of a protection group.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Indicates how Eseutil should run. This parameter can take the following values: DontRun, RunOnLogs and RunOnLogsAndDB.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
The -PassThru parameter can be used with many commands in DPM to return a related object in cases where there is no default output. Using the PassThru parameter allows such cmdlets to be part of a pipeline.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Applies to Microsoft Exchange Server 2007 cluster continuous replication only. If Preferred Server topology is selected, the server to be protected must be specified.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Indicates that the EseUtil consistency check should be run. This is applicable only for Microsoft Exchange data sources.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.
For more information, type "Get-Help Set-DatasourceProtectionOption -detailed".
For technical information, type "Get-Help Set-DatasourceProtectionOption -full".Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.