external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Sets replication schedules for a computer.
Set-RMADReplicationSchedule [-Schedules <Schedule[]>] -Credential <PSCredential> [-WhatIf] [-Confirm]
[<CommonParameters>]
Sets replication schedules with credentials for the Recovery Manager computer you specify.
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.
PS C:\> $credential = Get-Credential
C:\PS>Set-RMADReplicationSchedule -Credential $credential
This command updates the credentials for an existing schedule.
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
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
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Start the Hybrid Recovery Discovery to update the database with a new domain discovered via the backup. This cmdlet is "for internal use only".
Start-RMADHybridRecoveryDiscovery [-IgnoreReadOnly] [<CommonParameters>]
This cmdlet populates the Hybrid Connector database with a new domain entry which was discovered via the backup. This happens automatically after 10 minutes. This cmdlet is "for internal use only".
PS C:\> Start-RMADHybridRecoveryDiscovery
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: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Performs replication from other computers in the replication console list.
Start-RMADReplication [-Id <Int32[]>] [-ComputerName <String[]>] [-AsJob] [<CommonParameters>]
Performs replication from other computers in the replication console list.
PS C:\> Start-RMADReplication
perform replication
PS C:\> Start-RMADReplication -AsJob
This command performs the replication as a background job.
PS C:\> Start-RMADReplication -Id 1
This command performs replication from a replication console by its ID.
PS C:\> Start-RMADReplication -ComputerName ws1
This command performs replication from a replication console by its hostname.
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
Specifies the hostname of the replication console.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies the ID of the replication console.
Type: Int32[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Displays a report about the results of the online comparison or restore operation.
Start-RMADReportViewer [-SqlCredential <PSCredential>] [<CommonParameters>]
Displays a report about the results of the online comparison or restore operation.
PS C:\> Start-RMADReportViewer
Displays the online comparison or restoration report.
Specifies the user name and password of the user account with which you want to connect to SQL Server to generate a report. The user name and password must be in the form of a PSCredential object. When this parameter is omitted, the cmdlet uses the credentials of the account under which Management Shell is running. Use the Get-Credential cmdlet provided by Windows PowerShell to pass a PSCredential object to this parameter.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center