Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Recovery Manager for AD Disaster Recovery Edition 10.2.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 Backup-RMADCollection Close-RMADFEProject Compare-RMADObject Convert-RMADBackup ConvertTo-RMADRecycledObject Copy-RMADFEBackup Create-RMADStorageAgentSetup Expand-RMADBackup Export-RMADBackup Export-RMADFECloudStorageBackup Export-RMADFERecoveryCertificate Export-RMADFEResult Export-RMADSecureStorageBackup 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-RMADFEDnsCache Get-RMADFEDomain Get-RMADFEEvent Get-RMADFEGlobalOptions Get-RMADFEOperation Get-RMADFEPersistenceConnection Get-RMADFEProject Get-RMADFERecoveryAgent Get-RMADFESchedule Get-RMADGlobalOptions 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-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-RMADStorageServer Remove-RMADUnpackedComponent Rename-RMADCollection Restart-RMADFECloudStorageUploadSession Restore-RMADDeletedObject Restore-RMADDomainController Restore-RMADObject Resume-RMADFERecovery Save-RMADFEProject Set-RMADCollection Set-RMADFECloudStorage Set-RMADFECloudStorageCollection Set-RMADFEComputer Set-RMADFEDnsCache Set-RMADFEDomain Set-RMADFEGlobalOptions Set-RMADFEPersistenceConnection Set-RMADFERecoveryMode Set-RMADFESchedule Set-RMADGlobalOptions Set-RMADReplicationConsole Set-RMADReplicationSchedule Set-RMADStorageServerAllowedVolumes Set-RMADStorageServerRetentionPolicy Start-RMADFERecovery Start-RMADFERecoveryAgentOperation Start-RMADFEVerification Start-RMADReplication Start-RMADReportViewer Stop-RMADFECloudStorageUploadSession Stop-RMADFEWorkflow Test-RMADSecureStorageBackup Unprotect-RMADStorageServer Update-RMADBackupAgent Update-RMADFEProject Update-RMADLicense

Set-RMADFEPersistenceConnection


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

schema: 2.0.0

SYNOPSIS

Sets persistence connection settings.

SYNTAX

MSSQLSecurity (Default)

Set-RMADFEPersistenceConnection [-DataSource] <String> [-Credentials] <PSCredential> [<CommonParameters>]

DisableConnection

Set-RMADFEPersistenceConnection [-Disable] [<CommonParameters>]

EnableConnection

Set-RMADFEPersistenceConnection [-Enable] [<CommonParameters>]

IntegratedSecurity

Set-RMADFEPersistenceConnection [-DataSource] <String> [-IntegratedSecurity] [<CommonParameters>]

DESCRIPTION

Sets persistence connection settings that are used to store the Forest Recovery process state.

EXAMPLES

Example 1

PS C:\> $creds = new-object PSCredential("sa",  (ConvertTo-SecureString 'Password' -asPlainText -Force))
Set-RMADFEPersistenceConnection -DataSource "ws\SQLExpress" -Credentials $creds 
Get-RMADFEPersistenceConnection

This command sets persistence connection settings.

Example 2

PS C:\> Set-RMADFEPersistenceConnection -Disable
Get-RMADFEPersistenceConnection

This command disable persistence connection settings.

PARAMETERS

-Credentials

Specifies MS SQL security credentials

Type: PSCredential
Parameter Sets: MSSQLSecurity
Aliases:

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

-DataSource

Specifies MS SQL instance

Type: String
Parameter Sets: MSSQLSecurity, IntegratedSecurity
Aliases:

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

-Disable

Disables persistence connection

Type: SwitchParameter
Parameter Sets: DisableConnection
Aliases:

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

-Enable

Enables persistence connection

Type: SwitchParameter
Parameter Sets: EnableConnection
Aliases:

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

-IntegratedSecurity

Enable Windows Authentication using

Type: SwitchParameter
Parameter Sets: IntegratedSecurity
Aliases:

Required: True
Position: 2
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-RMADFERecoveryMode


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

schema: 2.0.0

SYNOPSIS

Sets recovery mode for the current recovery project

SYNTAX

Set-RMADFERecoveryMode [-RecoveryMode] <RecoveryMode> [[-ExcludingDomains] <String[]>] [<CommonParameters>]

DESCRIPTION

This cmdlet changes the recovery mode of the recovery project.

EXAMPLES

Example 1

PS C:\> Set-RMADFERecoveryMode -RecoveryMode SYSVOLRecovery

Sets up SYSVOL recovery mode on the recovery project

Example 2

PS C:\> Set-RMADFERecoveryMode -RecoveryMode DomainRecovery -ExcludingDomains @("domain1", "domain2")

Sets up Domain recovery mode on the recovery project and exclude "domain1" and "domain2" from recovering.

PARAMETERS

-ExcludingDomains

Specifies domains that must not be recovered when DomainRecovery mode selected.

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

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

-RecoveryMode

Specifies recovery mode which can accept one of the following values: 1.
ForestRecovery - complete forest recovery mode 2.
DomainRecovery - recover selected domains only 3.
SYSVOLRecovery - recover SYSVOL only 4.
Repromotion - recover domain controllers that were not recovered in previous recovery sessions

Type: RecoveryMode
Parameter Sets: (All)
Aliases:
Accepted values: ForestRecovery, DomainRecovery, SYSVOLRecovery, Repromotion

Required: True
Position: 0
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-RMADFESchedule


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

schema: 2.0.0

SYNOPSIS

Applies settings to the verification schedule for the RMADFE project.

SYNTAX

Set-RMADFESchedule [[-Schedules] <Schedule[]>] [-Credential] <PSCredential> [[-NewCredential] <PSCredential>]
 [[-IsEnabled] <Boolean>] [<CommonParameters>]

DESCRIPTION

This cmdlet applies settings to the verification schedule for the current RMADFE project.

EXAMPLES

Example 1

PS C:\> $schedule = New-RMADFESchedule -Once -StartDate "2/20/2008 1:00"
$credential = Get-Credential
Set-RMADFESchedule -Schedules $schedule -Credential $credential -IsEnabled $true

Set a one-time schedule for the current project.
Schedule is enabled and will run under the specified user account.

PARAMETERS

-Credential

Specifies credentials that will be used to run the command.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-IsEnabled

Specifies whether the schedule is enabled.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-NewCredential

Credential to change an account to.
If a new credential is specified, the Credential parameter should contain the previous account credential for a task.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-Schedules

Specifies schedules for project verification.

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

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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-RMADGlobalOptions


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

schema: 2.0.0

SYNOPSIS

Sets global application settings

SYNTAX

Set-RMADGlobalOptions [-EmailServer <String>] [-EmailSender <String>] [-ExtendedLogging <Boolean>]
 [-Properties <Hashtable>] [-IgnoreReadOnly] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Sets Recovery Manager global application settings

EXAMPLES

Example 1

PS C:\> Set-RMADGlobalOptions -EmailServer "WS.DomainName.local" 
Set-RMADGlobalOptions -EmailSender "from@WS.DomainName.local"
Set-RMADGlobalOptions -ExtendedLogging $True

This command sets global email settings in Recovery Manager for Active Directory.

Example 2

PS C:\> $mailOptions = @{
    "Email.Server"       ='WS.DomainName.local';
    "Email.UseSSL"       =$True;
    "Email.Sender"       ='from@WS.DomainName.local';
    "Email.AuthRequired" =$True;
    "Email.UserName"     ='SmtpAccount';
    "Email.Password"     ='Password'
}
Set-RMADGlobalOptions -Properties $mailOptions

This command sets global email settings in Recovery Manager for Active Directory using the 'Properties' option.

Example 3

PS C:\> Set-RMADGlobalOptions -Properties @{"UseRestoreAgentPort" = $True; "DefaultRestoreMethod" = 0; "AgentPort" = 3845 }

This command sets Recovery Manager global settings for agent.

PARAMETERS

-EmailSender

Specifies the sender field of e-mail notifications

Type: String
Parameter Sets: (All)
Aliases:

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

-EmailServer

Specifies the SMTP server for e-mail notifications

Type: String
Parameter Sets: (All)
Aliases:

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

-ExtendedLogging

Specifies diagnostic logs

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-IgnoreReadOnly

Allows you to perform the action in a console currently performing full replication.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Properties

Allows you to modify the application settings.
To specify the properties you want to modify, use an associative array or hash table.
For more information, see the Windows PowerShell help topic on associative arrays (hash tables).
To open the topic, at the PoweShell command prompt enter the following: help about_associative_arrayBelow are the properties you can modify by using this parameter.
The properties are grouped by the names of tabs in the "Computer Collection Properties" dialog box, because each property corresponds to an option on these tabs.To assign a new value to a property, use the following format: PropertyName=Value E-MAIL TAB * Email.Server.
Specifies the SMTP server for e-mail notifications * Email.Port.
Specifies the SMTP port for e-mail notifications * Email.Sender.
Specifies the sender of e-mail notifications LOGGING TAB * ExtendedLogging.
Specifies option "Use diagnostic logging" * LogsFolder.
Specify the directory for application logs.

Type: Hashtable
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts for a 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

 

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation