Chat now with support
Chat mit Support

Recovery Manager for AD 10.3 - Management Shell Guide

Overview
About Management Shell Installing and opening Management Shell Getting Help Descriptions of PowerShell Commands
Add-RMADBackup Add-RMADCollectionItem Add-RMADReplicationConsole Add-RMADStorageServer Backup-RMADCollection Compare-RMADObject Convert-RMADBackup ConvertTo-RMADRecycledObject Create-RMADStorageAgentSetup Expand-RMADBackup Export-RMADBackup Export-RMADSecureStorageBackup Export-RMADStorageServers Get-RMADBackup Get-RMADBackupAgent Get-RMADBackupInfo Get-RMADBackupObject Get-RMADBackupSecurityStatus Get-RMADCollection Get-RMADCollectionItem Get-RMADDeletedObject Get-RMADGlobalOptions Get-RMADHybridRecoveryDomainOptions Get-RMADHybridRecoveryOptions Get-RMADLicenseInfo Get-RMADObject Get-RMADReplicationConsole Get-RMADReplicationSchedule Get-RMADReplicationSession Get-RMADReplicationSessionItem Get-RMADReportObject Get-RMADReportObjectAttributes Get-RMADReportObjectChildren Get-RMADReportSession Get-RMADSession Get-RMADSessionItem Get-RMADSessionItemEvent Get-RMADStorageServer Import-RMADBackup Install-RMADBackupAgent New-RMADCollection New-RMADSchedule Protect-RMADSecureStorageServer Publish-RMADBackupSecurityStatus Refresh-RMADStorageServer Register-RMADSecureStorageBackups Remove-RMADBackup Remove-RMADBackupAgent Remove-RMADCollection Remove-RMADCollectionItem Remove-RMADReplicationConsole Remove-RMADReplicationSchedule Remove-RMADReplicationSession Remove-RMADStorageServer Remove-RMADUnpackedComponent Rename-RMADCollection Restore-RMADDeletedObject Restore-RMADDomainController Restore-RMADObject Set-RMADCollection Set-RMADGlobalOptions Set-RMADHybridRecoveryDomainOptions Set-RMADHybridRecoveryOptions Set-RMADReplicationConsole Set-RMADReplicationSchedule Start-RMADHybridRecoveryDiscovery Start-RMADReplication Start-RMADReportViewer Test-RMADBackup Test-RMADSecureStorageBackup Update-RMADBackupAgent Update-RMADLicense

Create-RMADStorageAgentSetup


external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:

schema: 2.0.0

SYNOPSIS

Creates storage server agent setup.

SYNTAX

Create-RMADStorageAgentSetup [-Path] <String> [-Port <Int32>] [<CommonParameters>]

DESCRIPTION

Create storage server agent setup bundle packed to the ZIP archive that contains required components to deploy the storage server agent.

EXAMPLES

Example 1

PS C:\> Create-RMADStorageAgentSetup -Path "C:\Setup.zip" -StorageAgentPort 48001

Creates a setup bundle and puts it in the specified file.

PARAMETERS

-Path

Path to the result file in which the setup will be created.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Port

Port that will be used to run storage agent on.

Type: Int32
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS

 

Expand-RMADBackup


external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:

schema: 2.0.0

SYNOPSIS

Extracts the contents of a specified backup file.

SYNTAX

BackupInfo (Default)

Expand-RMADBackup [-InputObject] <BackupInfo[]> 
[-BackupPassword <SecureString>] [-TargetFolder] <String>
[[-Components] <BackupComponentBits>] [-AsJob] [<CommonParameters>]

Bkf

Expand-RMADBackup [-Path] <String[]> [-BackupPassword <SecureString>]
[-TargetFolder] <String> [[-Components] <BackupComponentBits>] 
[-AsJob] [<CommonParameters>]

Id

Expand-RMADBackup [-Id] <Int32[]> [-BackupPassword <SecureString>] 
[-TargetFolder] <String> [[-Components] <BackupComponentBits>] 
[-AsJob] [<CommonParameters>]

DESCRIPTION

Allows you to selectively extract the contents of a backup file created with Recovery Manager for Active Directory to the location you want.

EXAMPLES

Example 1

PS C:\> Expand-RMADBackup -InputObject (Get-RMADBackup | where {$_.Date -gt (Get-Date).AddDays(-2)}) -TargetFolder 'C:\UnpackedBackups'

This command extracts the contents of all backups created within last two days to the local folder C:\UnpackedBackups.

PARAMETERS

-AsJob

Runs the command as a background job. You can use this parameter to run commands that take a significant time to complete.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-BackupPassword

If the backup is password-protected, specifies the password to open the backup. The parameter value must be a SecureString object.

Type: SecureString
Parameter Sets: (All)
Aliases: Password

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

-Components

Specifies the backup components you want to extract. When specifying multiple backup components in this parameter, use a comma as a separator. This parameter accepts the following values for backup components:

  • Sam - Specifies to extract the SAM registry hive.
  • Security - Specifies to extract the Security registry hive.
  • Software - Specifies to extract the Software registry hive.
  • System - Specifies to extract the System registry hive.
  • Default - Specifies to extract the Default registry hive.
  • NTUserDat - Specifies to extract the NTUser.dat registry hive.
  • Components - Specifies to extract the Components registry hive.
  • SchemaDat - Specifies to extract the Schema.dat
  • ActiveDirectoryDatabase - Specifies to extract the DIT database.
  • Sysvol - Specifies to extract SYSVOL.
  • EnterpriseServices - Specifies to extract the COM+ Class Registration database.
  • BootFiles - Specifies to extract the boot files.
  • IISMetabase - Specifies to extract IIS metabase.
  • PerformanceCounters - Specifies to extract performance counters.
  • CertificateServer - Specifies to extract certificate server.
  • ClusterQuorum - Specifies to extract the cluster quorum.
  • Adam - Specifies to extract all instances of AD LDS (ADAM).
  • GroupMembership - Specifies to extract cross-domain group membership information.
  • ActiveDirectory - Specifies to extract the components represented by the following parameters: ActiveDirectoryDatabase and SYSVOL.
  • Registry - Specifies to extract the components represented by the following parameters: Sam, Security, Software, System, Default, NTUserDat, Components, and SchemaDat.

Type: BackupComponentBits
Parameter Sets: (All)
Aliases:
Accepted values: Sam, Security, Software, System, Default, NTUserDat, ActiveDirectoryDatabase, Sysvol, ActiveDirectory, EnterpriseServices, BootFiles, SystemProtectedFiles, BootIni, CertificateServer, IisMetabase, PerformanceCounters, ClusterQuorum, Adam, GroupMembership, BootFilesExt, CryptoKeys, ForestRecoveryMetadata, Components, SchemaDat, Registry, VirtualImage, HardLinks

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

Specifies the identifier of the backup you want to extract.

Type: Int32[]
Parameter Sets: Id
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-InputObject

Accepts a backup object as input to the cmdlet. Enter a variable that contains the object or type a command or expression that gets the object.

Type: BackupInfo[]
Parameter Sets: BackupInfo
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Path

Path to the backup file.

Type: String[]
Parameter Sets: Bkf
Aliases: FullName

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-TargetFolder

Specifies the target folder to which you want to extract the backup.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

 

Export-RMADBackup


external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:

schema: 2.0.0

SYNOPSIS

Exports registration information for a backup into an .xml file.

SYNTAX

InputObject

Export-RMADBackup [-InputObject] <BackupInfo[]> [-Path] <String> [-PassThru] [<CommonParameters>]

Id

Export-RMADBackup [-Id] <Int32[]> [-Path] <String> [-PassThru] [<CommonParameters>]

DESCRIPTION

This cmdlet exports the registration information for the specified backup into an .xml file. You can then use the Import-RMADBackup cmdlet to transform the registration information saved in the .xml file into an object.

EXAMPLES

Example 1

PS C:\> $b = Get-RMADBackup
Export-RMADBackup -Path Backups.xml -InputObject $b

Exports registration information for all backups registered in the Recovery Manager for Active Directory backup registration database located on the computer where you are using this cmdlet. The backup registration information is saved in the Backups.xml file.

Example 2

PS C:\> Export-RMADBAckup -Id 1 -Path C:\ExportedBackups

Exports the registration information of the backup whose ID 1 to an XML file in the folder C:\ExportedBackups.

PARAMETERS

-Id

Specifies the identifiers of one or more backups to export. This parameter accepts an array of integers.

Type: Int32[]
Parameter Sets: Id
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-InputObject

Accepts a backup object as input to the cmdlet. Enter a variable that contains the object or type a command or expression that gets the object.

Type: BackupInfo[]
Parameter Sets: InputObject
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-PassThru

Passes the registration information for the specified backup along the pipeline. If this parameter is omitted, the registration information is not passed along the pipeline.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Path

Specifies the path to the .xml file where you want to save registration information for the backup.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

 

Export-RMADSecureStorageBackup


external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:

schema: 2.0.0

SYNOPSIS

Exports a backup on a Secure Storage server to a remote network share.

SYNTAX

InputObject

Export-RMADSecureStorageBackup [-InputObject] <BackupInfo[]> [-TargetRemoteFolder] <String>
 [-TargetCredentials] <PSCredential> [-PassThru] [<CommonParameters>]

Id

Export-RMADSecureStorageBackup [-Id] <Int32[]> [-TargetRemoteFolder] <String>
 [-TargetCredentials] <PSCredential> [-PassThru] [<CommonParameters>]

DESCRIPTION

Exports a backup on a Secure Storage server to a remote network share.

EXAMPLES

Example 1

$credential = Get-Credential
$backup = Get-RMADBackup -OnlySecureStorage -ComputerName 'dc1.rmad.local' | Select-Object -First 1
Export-RMADSecureStorageBackup -InputObject $backup -TargetRemoteFolder '\\192.168.0.1\BackupsNew\Temp' -TargetCredentials $credential

Example 2

$credential = Get-Credential
Export-RMADSecureStorageBackup -Id @(2, 4, 6) -TargetRemoteFolder '\\192.168.0.1\BackupsNew\Temp' -TargetCredentials $credential

PARAMETERS

-Id

Specifies the identifiers of one or more backups to export. This parameter accepts an array of integers.

Type: Int32[]
Parameter Sets: Id
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-InputObject

Accepts a backup object as input to the cmdlet. Enter a variable that contains the object or type a command or expression that gets the object.

Type: BackupInfo[]
Parameter Sets: InputObject
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-PassThru

Passes the registration information for the specified backup along the pipeline. If this parameter is omitted, the registration information is not passed along the pipeline.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-TargetCredentials

Credentials to access the target network location.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TargetRemoteFolder

Remote network share where backup should be exported.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

 

Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen