Converse agora com nosso suporte
Chat com o suporte

Recovery Manager for AD Disaster Recovery Edition 10.3.1 - Management Shell Guide

Overview
About Management Shell Installing and opening Management Shell Getting Help Descriptions of PowerShell Commands
Add-RMADBackup Add-RMADCollectionItem Add-RMADFECloudStorage Add-RMADReplicationConsole Add-RMADStorageServer Add-RMADStorageServerException Backup-RMADCollection Backup-RMADFEConsoleConfiguration Close-RMADFEProject Compare-RMADObject Convert-RMADBackup ConvertTo-RMADRecycledObject Create-RMADStorageAgentSetup Expand-RMADBackup Export-RMADBackup Export-RMADFECloudStorageBackup Export-RMADFECloudStorageServers Export-RMADFERecoveryCertificate Export-RMADFEResult Export-RMADSecureStorageBackup Export-RMADStorageServers Get-RMADBackup Get-RMADBackupAgent Get-RMADBackupInfo Get-RMADBackupObject Get-RMADBackupSecurityStatus Get-RMADCollection Get-RMADCollectionItem Get-RMADDeletedObject Get-RMADFEAvailableSubnet Get-RMADFECloudStorage Get-RMADFECloudStorageCollection Get-RMADFECloudStorageUploadSession Get-RMADFEComputer Get-RMADFEConsole Get-RMADFEConsoleConfigurationBackupSchedule Get-RMADFEDnsCache Get-RMADFEDomain Get-RMADFEEvent Get-RMADFEGlobalOptions Get-RMADFEOperation Get-RMADFEPersistenceConnection Get-RMADFEProject Get-RMADFERecoveryAgent Get-RMADFESchedule 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 Get-RMADStorageServerAllowedVolumes Get-RMADStorageServerException Get-RMADStorageServerHardeningStatus Get-RMADStorageServerRetentionPolicy Import-RMADBackup Import-RMADFERecoveryCertificate Install-RMADBackupAgent Install-RMADFERecoveryAgent New-RMADCollection New-RMADFEProject New-RMADFERecoveryMedia New-RMADSchedule Open-RMADFEProject Protect-RMADSecureStorageServer Protect-RMADStorageServer Publish-RMADBackupSecurityStatus Refresh-RMADStorageServer Register-RMADSecureStorageBackups Remove-RMADBackup Remove-RMADBackupAgent Remove-RMADCollection Remove-RMADCollectionItem Remove-RMADFECloudStorage Remove-RMADFECloudStorageUploadSession Remove-RMADFERecoveryAgent Remove-RMADFESchedule Remove-RMADReplicationConsole Remove-RMADReplicationSchedule Remove-RMADReplicationSession Remove-RMADSession Remove-RMADStorageServer Remove-RMADStorageServerException Remove-RMADUnpackedComponent Rename-RMADCollection Restart-RMADFECloudStorageUploadSession Restore-RMADDeletedObject Restore-RMADDomainController Restore-RMADFEConsoleConfiguration Restore-RMADObject Resume-RMADFEOperation Resume-RMADFERecovery Save-RMADFEProject Send-RMADFEBackupToSecureStorage Set-RMADCollection Set-RMADFECloudStorage Set-RMADFECloudStorageCollection Set-RMADFEComputer Set-RMADFEConsoleConfigurationBackupSchedule Set-RMADFEDnsCache Set-RMADFEDomain Set-RMADFEGlobalOptions Set-RMADFEPersistenceConnection Set-RMADFERecoveryMode Set-RMADFESchedule Set-RMADGlobalOptions Set-RMADHybridRecoveryDomainOptions Set-RMADHybridRecoveryOptions Set-RMADReplicationConsole Set-RMADReplicationSchedule Set-RMADStorageServerAllowedVolumes Set-RMADStorageServerRetentionPolicy Start-RMADFERecovery Start-RMADFERecoveryAgentOperation Start-RMADFEVerification Start-RMADHybridRecoveryDiscovery Start-RMADReplication Start-RMADReportViewer Stop-RMADFECloudStorageUploadSession Stop-RMADFEWorkflow Test-RMADBackup Test-RMADSecureStorageBackup Unprotect-RMADStorageServer Update-RMADBackupAgent Update-RMADFEProject Update-RMADLicense

Set-RMADReplicationSchedule


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

schema: 2.0.0

SYNOPSIS

Sets replication schedules for a computer.

SYNTAX

Set-RMADReplicationSchedule [-Schedules <Schedule[]>] -Credential <PSCredential> [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Sets replication schedules with credentials for the Recovery Manager computer you specify.

EXAMPLES

Example 1

PS C:\> $credential = Get-Credential
$schedule=(New-RMADSchedule -Daily -StartDate "9/20/2022 10:00" -DaysInterval 1), (New-RMADSchedule -Daily -StartDate "9/20/2022 22:00" -DaysInterval 1)
C:\PS>Set-RMADReplicationSchedule -Schedule $schedule

This example illustrates how to replicate computers by using two replication schedules. The first line of this example creates a PSCredential object. The second line of this example creates two replication schedules and stores them in the $schedule variable. One schedule invokes the replicate operation once in every two days at 10 a.m. Another schedule invokes the replicate operation once in every two days at 10 p.m. The two replication schedules become effective starting from the 20th September 2022. The third line of this example set schedules with credentials to the computer you specify.

Example 2

PS C:\> $credential = Get-Credential
C:\PS>Set-RMADReplicationSchedule -Credential $credential

This command updates the credentials for an existing schedule.

PARAMETERS

-Credential

Specifies the user credentials for setting the replication schedule. The user must be a local Administrator on the target computer. To obtain the user credentials, create a PSCredential object using the Get-Credential cmdlet provided by Windows PowerShell.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-Schedules

Causes the computer you specify to use the replication schedule you set by using the New-RMADSchedule cmdlet.

Type: Schedule[]
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts for confirmation before executing the command.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Describes what would happen if you ran the command without actually running the command.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
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

 

Set-RMADStorageServerAllowedVolumes


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

schema: 2.0.0

SYNOPSIS

Sets the list of volumes that the Secure Storage server will use for storing new backup files.

SYNTAX

Set-RMADStorageServerAllowedVolumes [-Volumes] <String[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This cmdlet sets the list of volumes that the Secure Storage server will use for storing new backup files.

EXAMPLES

Example 1

PS C:\> Set-RMADStorageServerAllowedVolumes 'C:','D:'
Saving volume policy...

Volumes
-------
{C:, D:}

Sets the allowed volumes for Secure Storage backups to be C: and D:.

Example 2

PS C:\> Set-RMADStorageServerAllowedVolumes @('C:','D:')
Saving volume policy...

Volumes
-------
{C:, D:}

Sets the allowed volumes for Secure Storage backups to be C: and D: using an explicit string array.

Example 3

PS C:\> Set-RMADStorageServerAllowedVolumes @()
Saving volume policy...

Volumes
-------
{}

Clears the list of allowed volumes. This will cause Secure Storage to automatically chose which volume to use when storing backups. The system drive will not be selected.

PARAMETERS

-Force

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Volumes

Specifies the list of volumes that the Storage Server can use for storing backups.
This list must include only drive letters in the form 'X:'.

Type: String[]
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

OUTPUTS

NOTES

RELATED LINKS

 

Set-RMADStorageServerRetentionPolicy


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

schema: 2.0.0

SYNOPSIS

Sets the retention policy status of the current server.

SYNTAX

Set-RMADStorageServerRetentionPolicy [-DaysToKeep] <Int32> [[-IncludeLWTProcessing] <Boolean>] [-Force]
 [<CommonParameters>]

DESCRIPTION

This cmdlet sets the retention policy of the current server.

The default number of days to retain backups on a Secure Storage server is 0 days. Ensure you configure the backup retention policy after adding a new Secure Storage server.

EXAMPLES

Example 1

PS C:\>Set-RMADStorageServerRetentionPolicy -DaysToKeep 30

PARAMETERS

-DaysToKeep

Specify the number of days to keep backup files on the secure storage server.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-Force

@{Text=}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-IncludeLWTProcessing

{Specify true to enable the use of Last Write Time. In some cases, the backups may not include a copy of their backup details which contains the time the backup was created. This means the current retention policy for number of days will not affect these backups. If IncludeLWTProcessing is set to true the retention policy processor will check the Last Write Time of the backup file and use that.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: False
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

 

Start-RMADFERecovery


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

schema: 2.0.0

SYNOPSIS

Performs the restore operation for the RMADFE project.

SYNTAX

Start-RMADFERecovery [-Force] [-NotifyByEmail <Boolean>] [-GroupPasswords <Hashtable>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

This cmdlet starts the restore operation on the current RMADFE project.

EXAMPLES

EXAMPLE 1

PS C:\> Start-RMADFERecovery

This command performs the restore operation on the current RMADFE project.

EXAMPLE 2

$pwd1 = ConvertTo-SecureString "new password 1" -AsPlainText -Force
$pwd2 = ConvertTo-SecureString "new password 2" -AsPlainText -Force
$pwd3 = ConvertTo-SecureString "new password 3" -AsPlainText -Force
$passwords = @{ "Enterprise Admins"=$pwd1; "Domain Admins"=$pwd2; "Administrators"=$pwd3 }
Start-RMADFERecovery -GroupPasswords $passwords

This command performs the restore operation and resets the password for domain users in the following privileged groups: Enterprise Admins, Domain Admins, and Administrators.

PARAMETERS

-Force

Overrides restrictions that prevent the command from succeeding, apart from security settings.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-GroupPasswords

Resets a password for domain users in specified privileged groups. The new password can be only used once, users must change their password after logging in with the new password. Use the Set-RMADFEDomain cmdlet to enable the password resetting before you reset the password with this parameter. The password resetting option is available only for Forest Recovery and Domain Recovery modes.

Type: Hashtable
Parameter Sets: (All)
Aliases:

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

-NotifyByEmail

Allows notification about the recovery result by email.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts for confirmation before running the command.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Describes what would happen if you ran the command without actually running the command.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
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

 

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação