external help file: QuestSoftware.RecoveryManager.AD.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:
Sets recovery mode for the current recovery project
Set-RMADFERecoveryMode [-RecoveryMode] <RecoveryMode> [[-ExcludingDomains] <String[]>] [<CommonParameters>]
This cmdlet changes the recovery mode of the recovery project.
PS C:\> Set-RMADFERecoveryMode -RecoveryMode SYSVOLRecovery
Sets up SYSVOL recovery mode on the recovery project
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.
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
Specifies recovery mode which can accept one of the following values:
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
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.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:
Applies settings to the verification schedule for the RMADFE project.
Set-RMADFESchedule [[-Schedules] <Schedule[]>] [-Credential] <PSCredential> [[-NewCredential] <PSCredential>]
[[-IsEnabled] <Boolean>] [<CommonParameters>]
This cmdlet applies settings to the verification schedule for the current RMADFE project.
PS C:\> $schedule = New-RMADFESchedule -Once -StartDate "2/20/2022 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.
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
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
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
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
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:
Sets global application settings
Set-RMADGlobalOptions [-ExchangeOAuth2 <Boolean>] [-EmailServer <String>] [-EmailSender <String>]
[-ExtendedLogging <Boolean>] [-Properties <Hashtable>] [-IgnoreReadOnly] [-WhatIf] [-Confirm]
[<CommonParameters>]
Sets Recovery Manager global application settings
PS C:\> Set-RMADGlobalOptions -ExchangeOAuth2 $False
Set-RMADGlobalOptions -EmailServer "WS.DomainName.local"
Set-RMADGlobalOptions -EmailSender "from@WS.DomainName.local"
Set-RMADGlobalOptions -ExtendedLogging $True
This command sets global email settings to use SMTP Authentication in Recovery Manager for Active Directory.
PS C:\> $mailOptions = @{
"Email.ExchangeOAuth2" =$True;
"Email.ApplicationId" ='111-111-111';
"Email.TenantId" ='123-456-789';
"Email.Thumbprint" ='abcdefg';
"Email.Sender" ='from@WS.DomainName.local'
}
Set-RMADGlobalOptions -Properties $mailOptions
This command sets global email settings to use Exchange OAuth2 in Recovery Manager for Active Directory using the 'Properties' option.
PS C:\> $mailOptions = @{
"Email.ExchangeOAuth2" =$False;
"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 to use SMTP Authentication in Recovery Manager for Active Directory using the 'Properties' option.
PS C:\> Set-RMADGlobalOptions -Properties @{"UseRestoreAgentPort" = $True; "DefaultRestoreMethod" = 0; "AgentPort" = 3845 }
This command sets Recovery Manager global settings for agent.
Specifies the sender field of email notifications
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the SMTP server for email notifications
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies Exchange OAuth2 mode for email notifications
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies diagnostic logs
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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
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_array Below 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
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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
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:
Sets the domain systems associated with the Hybrid Connector.
Set-RMADHybridRecoveryDomainOptions -Domain <String> -DomainController <String> -Credentials <PSCredential>
[-IgnoreReadOnly] [-WhatIf] [-Confirm] [<CommonParameters>]
Sets the domain and associated systems used for the Hybrid Connector.
PS C:\>$password = ConvertTo-SecureString 'mypassword' -AsPlainText -Force
PS C:\>$credentials = New-Object System.Management.Automation.PSCredential ('rmad-admin', $password)
PS C:\>Set-RMADHybridRecoveryDomainOptions -Domain rmad.local -DomainController DC1.rmad.local -Credentials $credentials
Returns: Nothing on success; otherwise an error
Credentials used for connecting to the system that is running the Azure Active Directory Connector.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Domain which the Hybrid Connector will be using.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The domain Controller that the Azure Active Directory Connector is installed on.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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
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
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
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. Feedback Termini di utilizzo Privacy Cookie Preference Center