Home » Learn IT » OS » Microsoft » Powershell » Data Protection Manager

Hi everybody,

If you are an IT Professional you gonna thank me for all this DPM Powershell commands that can save yout life somethimes.

Add-DPMBackupNetworkAddress Specifies a   backup network for the server to use.
Add-DPMChildDatasource Adds   a data source or a child data source to a protection group.
Add-DPMDisk Adds   a new disk to the storage pool
Add-DPMRecoveryItem Allows   you to identify the recoverable items that members of a DPM role can recover.
Add-DPMRecoveryTarget Allows   you to give the DPM role permission to recover to a location.
Add-DPMSecurityGroup Allows   you to add security groups to the DPM role.
Add-DPMTape Adds   a tape to a DPM library.
Connect-DPMServer Opens   a connection to a DPM server.
Copy-DPMTapeData Copies   the data from a tape for a given recovery point.
Disable-DPMLibrary Disables   the specified library.
Disable-DPMProductionServer Disables   the DPM protection agent installed on the specified computer.
Disable-DPMTapeDrive Disables   the specified tape drives in the library.
Disconnect-DPMServer Closes   and releases all objects for a DPM connection session.
Edit-DPMDiskAllocation Modifies   disk allocation for the specified protected data source.
Enable-DPMLibrary Enables   the specified library.
Enable-DPMProductionServer Enables   the DPM protection agent installed on the specified computer.
Enable-DPMTapeDrive Enables   the specified tape drives in the library.
Get-DPMAccessLicense Retrieves   the licensing information for the DPM server and protected computers.
Get-DPMAlert Returns   all the alerts on the specified DPM server.
Get-DPMAutoProtectIntent Retrieves   the auto-protection setting for a SQL Server instance.
Get-DPMBackupNetworkAddress Returns   a backup network specified for the server.
Get-DPMChildDatasource Returns   the protectable file system objects within a data source.
Get-DPMCloudSubscription Returns   the Windows Azure Online Backup subscription object.
Get-DPMCloudSubscriptionSetting Returns   the Windows Azure Online Backup subscription configuration settings.
Get-DPMDatasetStatus Returns   the dataset state of the archive tape.
Get-DPMDatasource Retrieves   the list of protected and unprotected data in a computer or protection group.
Get-DPMDatasourceProtectionOption Returns   the protection options for all data sources of the specified datasource type   in a protection group.
Get-DPMDisk Returns   a list of disks found in the last rescan on a DPM server.
Get-DPMGlobalProperty Retrieves   the global properties for this DPM installation.
Get-DPMHeadlessDataset Returns   any incomplete dataset on the archive tape.
Get-DPMJob Gets   a list of current and past jobs on a DPM server.
Get-DPMLibrary Returns   the list of libraries attached to the DPM server and their status.
Get-DPMMaintenanceJobStartTime Returns   the start time of the maintenance jobs.
Get-DPMModifiableProtectionGroup Retrieves   a protection group in an editable mode.
Get-DPMPGSet Returns   the list of DPM PG sets on the specified DPM server.
Get-DPMPolicyObjective Returns   the protection policy for a protection group.
Get-DPMPolicySchedule Returns   the schedule for various protection jobs like synchronization, recovery point   creation (shadow copy), and tape backups.
Get-DPMProductionCluster Returns   a list of all clusters on which the DPM agent is installed.
Get-DPMProductionServer Returns   the list of servers that have the DPM Protection Agent installed on them.
Get-DPMProductionVirtualName Returns   the virtual names for a cluster.
Get-DPMProtectionGroup Retrieves   the list of protection groups on the DPM server.
Get-DPMProtectionJobStartTime Returns   the start time of a protection job.
Get-DPMRecoverableItem Returns   a list of recoverable items in a recovery point.
Get-DPMRecoveryItem Allows   you to retrieve and display the recovery items attached to a role.
Get-DPMRecoveryPoint Returns   all available recovery points for a data source.
Get-DPMRecoveryPointLocation Returns   the location of a recovery point.
Get-DPMRecoveryTarget Retrieves   the recovery target for the specified role.
Get-DPMReplicaCreationMethod Retrieves   the replica creation method that is specified for a protection group.
Get-DPMRole Allows   you to open a DPM role for editing or to display a DPM role and its   properties.
Get-DPMSecurityGroup Allows   you to retrieve and display the security groups for a DPM role.
Get-DPMTape Returns   a list of tapes in the library across drives and slots.
Get-DPMTapeBackupOption Returns   the library, drive and other backup or archive options for a protection   group.
Get-DPMTapeDrive Returns   a list of drives in a library on a DPM server.
Get-DPMTapeSlot Returns   the list of slots in the library.
Get-DPMVolume Returns   a list of volumes on the DPM server.
Lock-DPMLibraryDoor Locks   the door of the specified library.
Lock-DPMLibraryIEPort Locks   and loads the media present in the IE port.
New-DPMPGSet Creates   a new DPM PG set.
New-DPMProtectionGroup Creates   a new protection group on the DPM server.
New-DPMRecoveryNotification Builds   the notification object used for recovery.
New-DPMRecoveryOption Allows   setting of recovery options for various servers.
New-DPMRecoveryPoint Creates   a new recovery point for the data source.
New-DPMRecoveryTarget Allows   you to create a new recovery target object.
New-DPMRole Allows   you to define a new DPM role.
New-DPMSearchOption Builds   an object with the search options to search for a particular string within   the set of specified recovery points.
New-DPMServerScope Creates   a scope object that is used by the Connect-DPMServer cmdlet to create a   scoped DPM connection.
Remove-DPMBackupNetworkAddress Stops   the DPM server from trying to use the specified network.
Remove-DPMChildDatasource Removes   a data source or child data source from a protection group.
Remove-DPMDatasourceReplica Removes   an inactive replica
Remove-DPMDisk Removes   a disk from the storage pool.
Remove-DPMObject Removes   a DPM object.
Remove-DPMPGSet Deletes   a protection group set.
Remove-DPMRecoveryItem Allows   you to remove a recovery item from the list that a DPM role could recover.
Remove-DPMRecoveryPoint Removes   a recovery point from tape or disk.
Remove-DPMRecoveryTarget Allows   you to revoke permissions to a location for a DPM role.
Remove-DPMRole Allows   you to delete an existing DPM role.
Remove-DPMSecurityGroup Allows   you to remove a security group from a DPM role.
Remove-DPMTape Removes   a tape from a DPM library.
Rename-DPMLibrary Renames   the specified library.
Rename-DPMProtectionGroup Renames   an existing protection group on the DPM server.
Rename-DPMRole Allows   you to rename an existing DPM role and change its description.
Restart-DPMJob Reruns   the specified failed jobs.
Restore-DPMRecoverableItem Restores   a version of the data source to a target location.
Resume-DPMBackup Attempts   to resume all stalled backup jobs.
Set-DPMAutoProtectIntent Turns   the auto-protection setting for a SQL Server instance on or off.
Set-DPMCloudSubscriptionSetting Updates   the Windows Azure Online Backup subscription settings.
Set-DPMCredentials Configure   certificate-based authentication
Set-DPMDatasourceDefaultDiskAllocation The   Set-DPMDatasourceDefaultDiskAllocation cmdlet retrieves the amount of disk   space that is allocated to the protected data.
Set-DPMDatasourceDiskAllocation Modifies   disk allocation for the protected data.
Set-DPMDatasourceProtectionOption Sets   the protection options for the specified datasource.
Set-DPMGlobalProperty Sets   the global properties for this DPM installation.
Set-DPMMaintenanceJobStartTime Sets   or removes the start time of a maintenance job.
Set-DPMPerformanceOptimization Enables   setting or removing of on-wire compression of data.
Set-DPMPolicyObjective Sets   the policy objective for a protection group.
Set-DPMPolicySchedule Sets   the schedule for various protection jobs like synchronization, recovery point   creation (shadow copy), and tape backups.
Set-DPMProtectionGroup Saves   all the actions performed on the protection group on the DPM server.
Set-DPMProtectionJobStartTime Sets   or changes the start time of a protection job.
Set-DPMProtectionType Allows   you to specify the protection type to be used with the protection group.
Set-DPMReplicaCreationMethod Set   the replica creation method for disk-based protection.
Set-DPMRole Allows   you to save any changes you have made to a DPM role.
Set-DPMTape Marks   the specified tape as Archive, Cleaner, Free or Not Free.
Set-DPMTapeBackupOption Sets   the tape backup and library options for a protection group.
Start-DPMAutoProtection Searches   for and indentifies new SQL Server databases under the instances that are   configured for auto-protection, and adds them to the protection group.
Start-DPMCloudUnregistration Unregisters   the DPM server with Windows Azure Online Backup service.
Start-DPMCreateCatalog Generates   a catalog for the specified data source.
Start-DPMDatasourceConsistencyCheck Performs   a consistency check on the specified data source.
Start-DPMDiskRescan Scans   for new disks or disks where configuration has changed.
Start-DPMLibraryInventory Starts   an inventory of the tape in the specified library.
Start-DPMLibraryRescan Starts   a rescan job in the background to identify new libraries or ones that have   changed.
Start-DPMOnlineRecatalog Returns   a detailed list of data on a tape.
Start-DPMProductionServerSwitchProtection Switches   protection of a data source between the primary DPM server and the disaster   recovery server.
Start-DPMSwitchProtection Runs   on the secondary DPM server to switch protection for a set of data sources.
Start-DPMTapeDriveCleaning Starts   a clean tape drive job.
Start-DPMTapeErase Starts   a tape erase job.
Start-DPMTapeRecatalog Returns   information about the data on a tape.
Stop-DPMJob Stops   a running job.
Test-DPMTapeData Verifies   the data set for a recovery point.
Unlock-DPMLibraryDoor Unlocks   the door of the specified library.
Unlock-DPMLibraryIEPort Unlocks   the IE port for the specified library.
Update-DPMPGSet Updates   and saves the changes made to the specified PG set.
Update-DPMProductionServer Gets   updated information about the protected computer.
Update-DPMProtectionGroup Refreshes   the protection group configuration to update any changes to protected data   sources

Leave a Reply

Your email address will not be published. Required fields are marked *