Chat now with support
Chat mit Support

Recovery Manager for AD Disaster Recovery Edition 10.2 - User Guide

Overview Getting started
Permissions required to use Recovery Manager for Active Directory Recovery Manager Console Getting and using help Configuring Windows Firewall Using Computer Collections Secure Storage servers Managing Recovery Manager for Active Directory configuration Licensing
Backing up data
Permissions required for the Backup operation Managing Backup Agent Using a least-privileged user account to back up data Using Managed Service Accounts Active Directory backups vs Windows System State backups Creating BMR and Active Directory backups Using the Backup Wizard Retrying backup creation Enabling backup encryption Backing up AD LDS (ADAM) Backing up cross-domain group membership Backing up distributed file system (DFS) data Backup scheduling Setting performance options Setting advanced backup options Using Forest Recovery Agent Unpacking backups Using e-mail notification Viewing backup creation results
Restoring data
Getting started with Active Directory recovery Managing deleted or recycled objects Restoring backed up Active Directory components Integration with Change Auditor for Active Directory Using granular online restore Restoring AD LDS (ADAM) Selectively restoring Active Directory object attributes Restoring objects in an application directory partition Restoring object quotas Restoring cross-domain group membership Performing a restore without having administrator privileges Reports about objects and operations Using complete offline restore Offline restore implications Restoring SYSVOL authoritatively Performing a granular restore of SYSVOL Recovering Group Policy Restoring data from third-party backups Using the Extract Wizard Restoring passwords and SID history
Full Replication Consolidating backup registration data Monitoring Recovery Manager for Active Directory Recovering an Active Directory forest
Forest recovery overview Deploying Recovery Manager for Active Directory Forest Edition (Disaster Recovery Edition) Permissions required to use Forest Recovery Console Forest Recovery Console Managing a recovery project Recovery methods Phased recovery Managing Forest Recovery Agent Rebooting domain controllers manually Resetting DSRM Administrator Password Purging Kerberos Tickets Managing the Global Catalog servers Managing FSMO roles Manage DNS Client Settings Configuring Windows Firewall Developing a custom forest recovery plan Backing up domain controllers Assigning a preferred DNS server during recovery Handling DNS servers during recovery Forest recovery approaches Deciding which backups to use Running custom scripts while recovering a forest Overview of steps to recover a forest Viewing forest recovery progress Viewing recovery plan Viewing a report about forest recovery or verify settings operation Handling failed domain controllers Adding a domain controller to a running recovery operation Selectively recovering domains in a forest Recovering SYSVOL Deleting domains during recovery Resuming an interrupted forest recovery Recovering read-only domain controllers (RODCs) Checking forest health Collecting diagnostic data for technical support
Restore Active Directory on Clean OS Bare metal forest recovery Using Management Shell Creating virtual test environments Using Recovery Manager for Active Directory web portal Appendices
Frequently asked questions Best practices for using Computer Collections Technical characteristics Best practices for creating backups Best practices for creating backups for forest recovery Best practices for recovering a forest Descriptions of recovery or verification steps Ports Used by Recovery Manager for Active Directory Forest Edition (Disaster Recovery Edition) Backup Wizard Online Restore Wizard Online Restore Wizard for AD LDS (ADAM) Group Policy Restore Wizard Repair Wizard Extract Wizard Events generated by Recovery Manager for Active Directory Descriptions of PowerShell commands
Add-RMADBackup Add-RMADCollectionItem Add-RMADReplicationConsole Add-RMADStorageServer Backup-RMADCollection Close-RMADFEProject Compare-RMADObject Convert-RMADBackup ConvertTo-RMADRecycledObject Copy-RMADFEBackup Create-RMADStorageAgentSetup Expand-RMADBackup Export-RMADBackup 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-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-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-RMADFERecoveryAgent Remove-RMADFESchedule Remove-RMADReplicationConsole Remove-RMADReplicationSchedule Remove-RMADReplicationSession Remove-RMADStorageServer Remove-RMADUnpackedComponent Rename-RMADCollection Restore-RMADDeletedObject Restore-RMADDomainController Restore-RMADObject Resume-RMADFERecovery Save-RMADFEProject Set-RMADCollection Set-RMADFEComputer Set-RMADFEDnsCache Set-RMADFEDomain Set-RMADFEGlobalOptions Set-RMADFEPersistenceConnection Set-RMADFERecoveryMode Set-RMADFESchedule Set-RMADGlobalOptions Set-RMADReplicationConsole Set-RMADReplicationSchedule Set-RMADStorageServerRetentionPolicy Start-RMADFERecovery Start-RMADFERecoveryAgentOperation Start-RMADFEVerification Start-RMADReplication Start-RMADReportViewer Stop-RMADFEWorkflow Test-RMADSecureStorageBackup Unprotect-RMADStorageServer Update-RMADBackupAgent Update-RMADFEProject Update-RMADLicense

Set-RMADCollection


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

schema: 2.0.0

SYNOPSIS

Sets properties for a computer collection.

SYNTAX

Name (Default)

Set-RMADCollection [-Name] <String[]> [-BackupComponents <BackupComponents>] [-Properties <Hashtable>]
 [-Schedule <Schedule[]>] [-ScheduleCredential <PSCredential>] [-AgentCredentialEnabled <Boolean>]
 [-AgentCredential <PSCredential>] [-StorageCredentialEnabled <Boolean>] [-StorageCredential <PSCredential>]
 [-RetentionPolicyEnabled <Boolean>] [-RetentionPolicyCount <Int32>] [-PassThru] [-IgnoreReadOnly]
 [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

InputObject

Set-RMADCollection [-InputObject] <ComputerCollection[]> [-BackupComponents <BackupComponents>]
 [-Properties <Hashtable>] [-Schedule <Schedule[]>] [-ScheduleCredential <PSCredential>]
 [-AgentCredentialEnabled <Boolean>] [-AgentCredential <PSCredential>] [-StorageCredentialEnabled <Boolean>]
 [-StorageCredential <PSCredential>] [-RetentionPolicyEnabled <Boolean>] [-RetentionPolicyCount <Int32>]
 [-PassThru] [-IgnoreReadOnly] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Id

Set-RMADCollection [-Id] <Int32[]> [-BackupComponents <BackupComponents>] [-Properties <Hashtable>]
 [-Schedule <Schedule[]>] [-ScheduleCredential <PSCredential>] [-AgentCredentialEnabled <Boolean>]
 [-AgentCredential <PSCredential>] [-StorageCredentialEnabled <Boolean>] [-StorageCredential <PSCredential>]
 [-RetentionPolicyEnabled <Boolean>] [-RetentionPolicyCount <Int32>] [-PassThru] [-IgnoreReadOnly]
 [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Sets properties for the Recovery Manager computer collection you specify.

EXAMPLES

Example 1

PS C:\> Set-RMADCollection -Name Collection1 -BackupComponents ActiveDirectory,Registry,GroupMembership,ForestRecoveryMetadata

This command sets properties for the computer collection named Collection1.

Example 2

PS C:\> Set-RMADCollection * -RetentionPolicyEnabled $false

This command disables all backup retention policies for all existing computer collections.

Example 3

PS C:\> $c = Get-RMADCollection | Where-Object { $_.AgentCredentialEnabled -eq $true }

C:\PS>$cred = Get-Credential

C:\PS>Set-RMADCollection -InputObject $c -AgentCredential $cred

The first command in this example gets objects representing the computer collections whose properties are set to access Backup Agent and backup files with a specific user account.
Then the command saves the computer collection objects in the $c variable.

Example 4

PS C:\> $a = Get-RMADCollection -Name "Collection1"

C:\PS>Set-RMADCollection -InputObject $a[1] -Properties @{BackupComponents="ActiveDirectory","BootFiles"; UsePreinstalledAgent=$true}

In the first line of this example, the Get-RMADCollection cmdlet gets the Computer Collection whose name is Collection1 and saves it to the $a variable.
In the second line of this example, the Set-RMADCollection cmdlet sets the components to be backed up (that is, Active Directory and boot files) and specifies to use preinstalled Backup Agent for backup operations.
For a complete list of items you can include in the braces, see the description of the Properties parameter.

Example 5

PS C:\> $schedule=(New-RMADSchedule -Daily -StartDate "9/20/2013 10:00" -DaysInterval 1), (New-RMADSchedule -Daily -StartDate "9/20/2013 22:00" -DaysInterval 1)

C:\PS>Set-RMADCollection -InputObject $col -Properties @{EnableEmailLog=$true; EmailLogTo="administrator@mydomain.com"; EmailLogLevel="Everything"}

This example illustrates how to back up a Computer Collection by using two backup schedules.
The first line of this example creates two backup creation schedules and stores them in the $schedule variable.
One schedule invokes the backup operation once in every two days at 10 a.m.
Another schedule invokes the backup operation once in every two days at 10 p.m..
The two backup schedules become effective starting from the 20th September 2013.
The second line of this example enables e-mail notifications for the Computer Collection.
The recipient address for e-mail notifications is administrator@mydomain.com.
The e-mail notifications provide information about all backup events.

Example 6

PS C:\> $cred = Get-Credential

C:\PS>Set-RMADCollection -Name MyCollection -Properties @{AgentSideScriptBeforeBackupEnabled = $true; AgentSideScriptBeforeBackup = 'Set-Disk -Number 5 -IsOffline $false'; AgentSideScriptAfterBackupEnabled = $true; AgentSideScriptAfterBackup = 'Set-Disk -Number 5 -IsOffline $true'; AgentSideScriptCredential = $cred}

This example illustrates how to customize your environment by running PowerShell scripts on the domain controller before and after creating a backup.

PARAMETERS

-Name

Specifies the name of the computer collection whose properties you want to set.

Type: String[]
Parameter Sets: Name
Aliases:

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

-BackupComponents

Use this parameter to specify the names of the System State components you want to back up.

Type: BackupComponents
Parameter Sets: (All)
Aliases:

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

-Properties

Allows you to modify the Computer Collection properties.
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

  • UseAlternateStoragePath.
    Specifies whether to store a copy of each backup in an alternate location.
    Can take one of these values: $true, $false.
  • AlternateStoragePath.
    Specifies a storage path format for the alternate location.
    Surround the path with double quotes.
  • AgentCredentialEnabled.
    Causes the Recovery Manager console to use a specified user account to access the Backup Agent and backup files on target computers.
    Can take one of these values: $true, $false.
  • AgentCredential.
    Specifies the account under which the Recovery Manager console accesses the Backup Agent and backup files, in the form of a PSCredential object.
    Use the Get-Credential cmdlet provided by Windows PowerShell to pass a PSCredential object to this parameter.
  • ConfigureFirewall.
    Specifies whether Recovery Manager automatically configures Windows Firewall on target Windows Server 2008-based or Windows Server 2012-based DCs to allow backup operations.
    Can take one of these values: $true, $false.
  • UsePreinstalledAgent.
    Specifies whether Recovery Manager automatically preinstalls the Backup Agent.
    Can take one of these values: $true, $false.
  • DeployForestRecoveryAgent.
    Specifies whether Recovery Manager verifies that the Forest Recovery Agent is installed on each domain controller in the Computer Collection.
    Can take one of these values: $true, $false.
  • BackupDescription.
    Specifies a description for the backups to be created for the Computer Collection.
    The description may include expressions, such as %COMPUTERNAME% and %DATETIME%.
  • BackupPasswordEnabled.
    Specifies whether to protect the backups with a password.
    Can take one of these values: $true, $false.
  • BackupPassword.
    Specifies a password to protect the backups.
    The value must be a SecureString object.
  • ConsoleSideBackupEnabled.
    Specifies to store backups on the Recovery Manager computer or on a Universal Naming Convention (UNC) share.
    Can take one of these values: $true, $false.
  • ConsoleSideBackupPath.
    Specifies a storage path format for backup files.
    The path format can include expressions, such as %COMPUTERNAME% and %DATETIME%.
    Surround the path format with double quotes.
  • ConsoleSideRetentionPolicyEnabled.
    Specifies whether to apply a retention policy to backups stored at the path provided in the ConsoleSideBackupPath parameter.
    Can take one of these values: $true, $false.
  • ConsoleSideRetentioPolicyCount.
    Specifies the number of the most recent backups to retain.
    Other backups are automatically deleted.
  • AgentSideBackupEnabled.
    Specifies to store backups on the backed-up DC or on a Universal Naming Convention (UNC) share.
    Can take one of these values: $true, $false.
  • AgentSideBackupPath.
    Specifies a storage path format for backup files.
    The path format can include expressions, such as %COMPUTERNAME% and %DATETIME%.
    Surround the path format with double quotes.
  • AgentSideRetentionPolicyEnabled.
    Specifies whether to apply a retention policy to backups stored at the path provided in the ConsoleSideBackupPath parameter.
    Can take one of these values: $true, $false.
  • AgentSideRetentionPolicyCount.
    Specifies the number of the most recent backups to retain.
    Other backups are automatically deleted.
  • StorageCredentialEnabled.
    Causes the Recovery Manager console to use a specified user account to access backup files on target computers.
    Can take one of these values: $true, $false.
  • StorageCredential.
    Specifies the account under which the Recovery Manager Backup Agent accesses the backup files, in the form of a PSCredential object.
    Use the Get-Credential cmdlet provided by Windows PowerShell to pass a PSCredential object to this parameter.
  • EnableEmailLog.
    Specifies whether to send information about backup creation sessions by e-mail.
    Can take one of these values: $true, $false.
  • EnableEmailLogOnlyOnErrors.
    Specifies to send information over e-mail only when an error occurs.
    Can take one of these values: $true, $false.
  • EmailLogLevel.
    Specifies the type of information to send over e-mail.
    Possible values: "Everything", "ErrorsOnly".
  • EmailLogTo.
    Specifies the recipient's e-mail address to send the information about backup creation sessions.
  • EnableApplicationLog.
    Specifies whether to write information about backup creation sessions to the Windows application log on the Recovery Manager computer.
    Can take one of these values: $true, $false.
  • EnableApplicationLogOnlyOnErrors.
    Specifies whether to create an Application log event only upon backup creation session errors or warnings.
    Can take one of these values: $true, $false.
  • ApplicationLogLevel.
    Specifies the type of information to write to the Application log.
    Possible values: "Everything", "ErrorsOnly".
  • EnableLogFile.
    Specifies whether to write information about backup creation sessions to the additional text file you specify.
    Can take one of these values: $true, $false.
  • EnableLogFileOnlyOnErrors.
    Specifies whether to write information to the additional text file only upon backup creation session errors or warnings.
    Can take one of these values: $true, $false.
  • LogFileLevel.
    Specifies the type of information to write to the additional text file.
    Possible values: "Everything", "ErrorsOnly".
  • LogFileName.
    Specifies a path and name for the additional text file.
  • LogFileAppend.
    Specifies whether to append information to the additional text file.
    Can take one of these values: "True", "False".
  • ExtendedLogging.
    Specifies the logging settings for DCs in the collection.
    Can take one of these values:
    Use global (default) - use settings from the root node: Recovery Manager for Active Directory->Settings…>Logging,
    Yes - for all DCs in the current collection: for logs will be used the "Trace" option,
    No - for all DCs in the current collection: in logs will be only Warnings and Error messages.
  • CompressionMethod.
    Specifies a method to compress the backups to be created.
    Can take one of these values: "None", "Fast", "Normal", "Maximum".
  • ParallelBackups.
    Specifies the maximum number of computers serviced in parallel when creating backups.
    Increasing this number can speed the backup creation, however, this may result in network saturation and slow network response.
  • EnableTransferRateLimit.
    Specifies whether to limit the total bandwidth used by the Backup Agent when transferring data over the network.
    Use this property to prevent the Backup Agent from generating excessive network traffic.
    Can take one of these values: $true, $false.
  • TransferRaleLimit.
    Specifies the bandwidth limit in Mbits/sec for the Backup Agent.
  • EnableCpuUsageLimit.
    Specifies whether to limit the CPU processing time used by the Backup Agent on each computer.
    Can take one of these values: $true, $false.
  • CpuUsageLimit.
    Specifies the CPU processing limit in percent.
  • ScheduleEnabled.
    Specifies whether to enable backup creation schedule.
    Can take one of these values: $true, $false.
  • Schedule.
    Sets up a backup creation schedule.
    To set up a schedule, use the New-RMADSchedule cmdlet.
  • ScheduleCredential.
    Specify the user account under which the Task Scheduler performs backup creation tasks, in the form of a PSCredential object.
    Use the Get-Credential cmdlet provided by Windows PowerShell to pass a PSCredential object to this parameter.
  • BackupComponents.
    Specifies the system state components to back up.
    Possible values: "All", "None", "ActiveDirectory", "Adam", "BootFiles", "CertificateServer", "ClusterQuorum", "EnterpriseServices", "ForestRecoveryMetadata", "GroupMembership", "IisMetabase", "PerformanceCounters", "Registry".
    When specifying multiple values, use a comma as a separator.
  • CollectGroupMembership.
    Specifies whether to back up group membership data stored on Global Catalog servers.
    Can take one of these values: $true, $false.
  • CollectForestRecoveryMetadata.
    Specifies whether to create backups that can be used to recover the Active Directory forest.
    Can take one of these values: $true, $false.
  • OverrideDefaultBackupUnpackSettings.
    Specifies whether to override the global settings for unpacking backups for the Computer Collection.
    Can take one of these values: $true, $false.
  • UnpackBackupsUponCreation.
    Specifies whether to unpack each backup upon its creation.
    Can take one of these values: $true, $false.
  • UnpackedBackupsToKeep.
    Specifies the number of the most recent unpacked backups to retain.
    Other unpacked backups are automatically deleted.
  • IsUnpackOnlySelected.
    Specifies whether to keep unpacked backups only for a list of selected domain controllers.
    Can take one of these values: $true, $false.
  • SelectedDCsToUnpack.
    Specifies the names (separated by comma) of domain controllers you want to keep unpacked backups for.
Type: Hashtable
Parameter Sets: (All)
Aliases:

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

-Schedule

Causes the computer collection you specify to use the backup creation 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

-ScheduleCredential

Specifies the user account under which the scheduled backup creation task will be run.
This account must have sufficient permissions to back up the computer collection you specify.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-AgentCredentialEnabled

Specifies to use a particular account to access Backup Agent installed on the DCs in the computer collection and locations where backup files for the computer collection will be saved.
To specify the credentials for the account, use the AgentCredential parameter.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-AgentCredential

Specifies the credentials for the account you want to use to access Backup Agent installed on the DCs in the computer collection and locations where backup files for the computer collection will be saved.
TO enable using the account whose credentials you supply in this parameter, use the AgentCredentialEnabled parameter.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-StorageCredentialEnabled

Specifies to use a particular account to access locations where backup files for the computer collection will be saved.
To specify the credentials for the account, use the StorageCredential parameter.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-StorageCredential

Specifies the credentials for the account you want to use to access locations where backup files for the computer collection will be saved.
To enable using the account whose credentials you supply in this parameter, use the StorageCredentialEnabled parameter.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-RetentionPolicyEnabled

Specifies to delete obsolete backups for particular computer collection.
To set the number of latest backups you want to keep for each DC in the computer collection, use the RetentionPolicyCount parameter.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-RetentionPolicyCount

Specifies the number of latest backups you want to keep for each DC in the computer collection.
To enable the deletion of obsolete backups, use the RetentionPolicyEnabled parameter.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-PassThru

Passes the computer collection whose properties you have set along the pipeline.
If this parameter is omitted, the computer collection 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

-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: None
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: 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: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Renames the computer collection represented by the specified collection objects.
Specify the name of the variable that contains the objects or type a command or expression that gets the objects.

Type: ComputerCollection[]
Parameter Sets: InputObject
Aliases:

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

-Id

Specifies the identifier of the computer collection whose properties you want to set.

Type: Int32[]
Parameter Sets: Id
Aliases:

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

-InformationAction

@{Text=}

Type: ActionPreference
Parameter Sets: (All)
Aliases: infa

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

-InformationVariable

@{Text=}

Type: String
Parameter Sets: (All)
Aliases: iv

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-RMADFEComputer


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

schema: 2.0.0

SYNOPSIS

Applies computer settings to the RMADFE project.

SYNTAX

Set-RMADFEComputer [-ComputerName] <String> [-Domain <String>] [-Backup <Guid>] [-BmrBackup <Guid>]
 [-BackupPassword <SecureString>] [-BmrBackupPassword <SecureString>] [-LocalCredential <PSCredential>]
 [-DcCredential <PSCredential>] [-DsrmCredential <PSCredential>] [-NetworkShareCredential <PSCredential>]
 [-BmrBackupNetworkShareCredential <PSCredential>] [-UseDomainSettings <Boolean>]
 [-RecoveryMethod <RecoveryMethod>] [-InstallFromMedia <Boolean>] [-DitPath <String>] [-LogPath <String>]
 [-SysvolPath <String>] [-RestoreAdOverBmrBackup <Boolean>] [-WipeDisks <Boolean>]
 [-PerformMalwareScan <Boolean>] [-UseOriginalTargetNetworkSettings <Boolean>] [-UseNatRouter <Boolean>]
 [-NatRouterPort <UInt32>] [-NatRouterAddress <String>] [-TargetIpAddress <String>] [-IsoIpAddress <String>]
 [-SubnetMask <String>] [-DefaultGateway <String>] [-DnsServers <String>] [-ConfigureAsGlobalCatalog <Boolean>]
 [-InstallReadOnly <Boolean>] [-RecoveryMediaPath <String>] [-RecoveryMediaShareCredential <PSCredential>]
 [-SaveRecoveryMediaOnBackupShare <Boolean>] [-TargetHardwareType <TargetInfrastructureType>]
 [-TargetHardwareManagementAddress <String>] [-TargetHardwareManagementProtocol <String>]
 [-TargetHardwareManagementPort <Int32>] [-TargetHardwareManagementCredential <PSCredential>]
 [-TargetHostCreateVMScript <String>] [-TargetHostBootScript <String>] [-TargetHostEjectScript <String>]
 [-CreateVM <Boolean>] [-VMName <String>] [-VMCPUNum <Int32>] [-VMMemorySize <Int64>]
 [-HypervisorHost <String>] [-HypervisorHostPlacement <String>] [-VMNetwork <String>] [-VMFolder <String>]
 [-VMNetworkRange <String>] [-VMSubNetworkName <String>] [-VMSubNetworkRange <String>]
 [-UseVMNetworkGateway <Boolean>] [-VMNetworkGateway <String>] [-VMVpnAddressPool <String>]
 [-DriversPath <String>] [-AllowAddCustomDrivers <Boolean>] [-AllowAddCustomDriversFromBackup <Boolean>]
 [-TargetHardwareBootScript <String>] [-SubscriptionId <String>] [-TenantId <String>] [-VMSize <VMSize>]
 [-VMLocation <String>] [-VMResourceGroup <String>] [-VMSecurityGroup <String>] [-VMStorageType <String>]
 [-VMStorageSize <Int32>] [-VMStorageSizeMode <VMStorageSizeMode>] [-DeleteVMAfterVerify <Boolean>]
 [-DeleteInfrastructureAfterVerify <Boolean>] [-OverwriteExistingVM <Boolean>] [-KeepInProject <Boolean>]
 [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]

DESCRIPTION

This cmdlet applies computer settings to the current RMADFE project.

EXAMPLES

EXAMPLE 1

@{paragraph=PS C:\>}

PS C:\> $dcCreds = Get-Credential
$dsrmCreds = Get-Credential
$shareCreds = Get-Credential

Set-RMADFEComputer -Name dc1.acme.com -BackupPassword (ConvertTo-SecureString "pwd" -AsPlainText -Force) -DcCredential $dcCreds -DsrmCredential $dsrmCreds -NetworkShareCredential $shareCreds -UseDomainSettings $false

This command applies the specified settings to the dc1.acme.com computer.

EXAMPLE 2

@{paragraph=PS C:\>}

PS C:\> $shareCreds= Get-Credential
$dcCreds = Get-Credential
$dsrmCreds = Get-Credential
$localCreds  = Get-Credential

Set-RMADFEComputer -Name dc1.acme.com -NetworkShareCredential $shareCreds -DcCredential $dcCreds -DsrmCredential $dsrmCreds -LocalCredential $localCreds -RecoveryMethod InstallAD -InstallFromMedia $true

This command applies the specified settings to the dc1.acme.com computer, and installs AD using media.

PARAMETERS

-ComputerName

Specifies the fully qualified domain name of the computer.

Type: String
Parameter Sets: (All)
Aliases: Name

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

-Domain

Specifies the Domain DNS name of the computer.

Type: String
Parameter Sets: (All)
Aliases:

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

-Backup

Specifies a System System State backup that is used for recovery.

Type: Guid
Parameter Sets: (All)
Aliases:

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

-BmrBackup

Specifies a Bare Metal Recovery backup that is used in case of the Bare Metal Active Directory Recovery method.

Type: Guid
Parameter Sets: (All)
Aliases:

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

-BackupPassword

Specifies the password to access a password-protected backup.

Type: SecureString
Parameter Sets: (All)
Aliases:

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

-BmrBackupPassword

Specifies the password to access a password-protected BMR backup.

Type: SecureString
Parameter Sets: (All)
Aliases:

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

-LocalCredential

Specifies local credentials for the computer.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-DcCredential

Specifies the user name and the password with which you want Recovery Manager for Active Directory Forest Edition to access the selected domain controllers in the Normal mode.
Use the Get-Credential cmdlet provided by Windows PowerShell to get the PSCredential object representing user credentials.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-DsrmCredential

Specifies the user name and the password with which you want Recovery Manager for Active Directory Forest Edition to access the selected domain controllers in Directory Services Restore Mode (DSRM).
Use the Get-Credential cmdlet provided by Windows PowerShell to get the PSCredential object representing user credentials.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-NetworkShareCredential

Specifies the user name and the password with which you want Recovery Manager for Active Directory Forest Edition to access the selected domain controllers to the backup location.
Use the Get-Credential cmdlet provided by Windows PowerShell to get the PSCredential object representing user credentials.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-BmrBackupNetworkShareCredential

Specifies the user name and the password with which you want Recovery Manager for Active Directory Forest Edition to access the selected domain controllers to the BMR backup location.
Use the Get-Credential cmdlet provided by Windows PowerShell to get the PSCredential object representing user credentials.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-UseDomainSettings

This option lets you use the default domain credentials to access domain controllers.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-RecoveryMethod

Specifies the recovery method for this domain controller.

Type: RecoveryMethod
Parameter Sets: (All)
Aliases:

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

-InstallFromMedia

This option allows you to install or reinstall AD using media.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-DitPath

Specifies a path to the DIT file if the custom location is required.

Type: String
Parameter Sets: (All)
Aliases:

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

-LogPath

Specifies a path to Active Directory log files if the custom location is required.

Type: String
Parameter Sets: (All)
Aliases:

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

-SysvolPath

Specifies a path to SYSVOL if the custom location is required.

Type: String
Parameter Sets: (All)
Aliases:

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

-RestoreAdOverBmrBackup

This option allows you to select the RMADFE Active Directory and Registry backup to be restored over the BMR backup.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-WipeDisks

Specifies if a full disk cleanup on the target machine is required before starting restore from the Bare Metal Recovery backup.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-PerformMalwareScan

Specifies if the backup must be scanned for malware threats.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-UseOriginalTargetNetworkSettings

This option allows you to use network settings from Bare Metal Recovery backup.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-UseNatRouter

Allows using NAT (deprecated).

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-NatRouterPort

Set the NAT routing port (deprecated).

Type: UInt32
Parameter Sets: (All)
Aliases:

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

-NatRouterAddress

Set the NAT routing address (deprecated).

Type: String
Parameter Sets: (All)
Aliases:

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

-TargetIpAddress

Specifies the target IP for the computer.

Type: String
Parameter Sets: (All)
Aliases:

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

-IsoIpAddress

Specifies the IP address for ISO image which is used as a boot disk.

Type: String
Parameter Sets: (All)
Aliases:

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

-SubnetMask

Specifies a subnet mask for the custom Bare Metal Recovery network settings.

Type: String
Parameter Sets: (All)
Aliases:

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

-DefaultGateway

Specifies the default gateway for the custom Bare Metal Recovery network settings.

Type: String
Parameter Sets: (All)
Aliases:

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

-DnsServers

Specifies DNS Servers for the custom Bare Metal Recovery network settings.

Type: String
Parameter Sets: (All)
Aliases:

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

-ConfigureAsGlobalCatalog

Sets the Global Catalog role for the domain controller.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-InstallReadOnly

Sets Read-only property for the domain controller.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-RecoveryMediaPath

Specifies a path to ISO image which is used as a boot disk.

Type: String
Parameter Sets: (All)
Aliases:

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

-RecoveryMediaShareCredential

Specifies credentials to get access to ISO image which is used as a boot disk.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-SaveRecoveryMediaOnBackupShare

Specifies a location of the ISO image which is used as a boot disk.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-TargetHardwareType

Specifies the target platform for the new domain controller.

Type: TargetInfrastructureType
Parameter Sets: (All)
Aliases:

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

-TargetHardwareManagementAddress

Specifies the address of the target platform for the new domain controller.

Type: String
Parameter Sets: (All)
Aliases:

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

-TargetHardwareManagementProtocol

Specifies the network protocol for communicating with the platform for the new domain controller.

Type: String
Parameter Sets: (All)
Aliases:

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

-TargetHardwareManagementPort

Specifies the network port for communicating with the platform for the new domain controller.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-TargetHardwareManagementCredential

Specifies network credentials for communicating with the platform for the new domain controller.

Type: PSCredential
Parameter Sets: (All)
Aliases:

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

-TargetHostCreateVMScript

Specifies a custom script to create a virtual machine on the target platform.

Type: String
Parameter Sets: (All)
Aliases:

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

-TargetHostBootScript

Specifies a custom script to boot the target host.

Type: String
Parameter Sets: (All)
Aliases:

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

-TargetHostEjectScript

Specifies a custom script to eject bootable disk on the target host.

Type: String
Parameter Sets: (All)
Aliases:

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

-CreateVM

Specifies if a new machine must be created on the target platform.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-DeleteVMAfterVerify

Specifies if a virtual machine must be deleted after project verification.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-DeleteInfrastructureAfterVerify

Specifies if infrastructure (security group, virtual network, virtual network gateway) must be deleted after project verification.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-OverwriteExistingVM

Specifies if an existing machine must be deleted before creation.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-VMName

Specifies the name of the virtual machine on the target platform.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMCPUNum

Specifies the number of CPUs on the virtual machine.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-VMMemorySize

Specifies memory size on the virtual machine.

Type: Int64
Parameter Sets: (All)
Aliases:

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

-HypervisorHost

Specifies Hypervisor host name.

Type: String
Parameter Sets: (All)
Aliases:

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

-HypervisorHostPlacement

Specifies the placement of the virtual machine.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMNetwork

Specifies network settings for the virtual machine.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMNetworkRange

Specifies network range for the virtual network.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMSubNetworkName

Specifies subnetwork name for the virtual network.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMSubNetworkRange

Specifies subnetwork range for the virtual network.

Type: String
Parameter Sets: (All)
Aliases:

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

-UseVMNetworkGateway

Specifies if VPN Gateway should be used to connect the virtual machine.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-VMNetworkGateway

Specifies VPN Gateway used to connect the virtual machine.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMVpnAddressPool

Specifies virtual machine address pool.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMFolder

Specifies a target folder for the virtual machine.

Type: String
Parameter Sets: (All)
Aliases:

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

-SubscriptionId

Specifies an Azure SubscriptionId.

Type: String
Parameter Sets: (All)
Aliases:

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

-TenantId

Specifies an Azure TenantId.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMSize

Specifies an Azure VM size.

Type: VMSize
Parameter Sets: (All)
Aliases:

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

-VMLocation

Specifies an Azure VM location.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMResourceGroup

Specifies an Azure VM resource group.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMSecurityGroup

Specifies an Azure VM security group.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMStorageType

Specifies the virtual machine storage type.

Type: String
Parameter Sets: (All)
Aliases:

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

-VMStorageSizeMode

Specifies the virtual machine disk size selection mode. UseDefaultVMStorageSize - set disk size based on the Active Directory data size.
SetVMStorageSize - set custom disk size. Minimal disk size values are 128 GB for OS disk and 8 GB for AD data disk.

Type: VMStorageSizeMode
Parameter Sets: (All)
Aliases:

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

-VMStorageSize

Specifies the virtual machine disk size in GB. Applicable with VMStorageSizeMode = SetVMStorageSize.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-DriversPath

Specifies a path to custom drivers.

Type: String
Parameter Sets: (All)
Aliases:

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

-AllowAddCustomDrivers

Turns on the ability to set up custom drivers.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-AllowAddCustomDriversFromBackup

Turns on the ability to set up custom drivers from the backup.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-TargetHardwareBootScript

Specifies custom script to boot the target host.

Type: String
Parameter Sets: (All)
Aliases:

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

-KeepInProject

Marks domain controller to be recovered later.
If this domain controller is removed from the Active Directory, it will not removed from the project on updating with Active Directory changes.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-InformationAction

@{Text=}

Type: ActionPreference
Parameter Sets: (All)
Aliases: infa

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

-InformationVariable

@{Text=}

Type: String
Parameter Sets: (All)
Aliases: iv

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-RMADFEDnsCache


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

schema: 2.0.0

SYNOPSIS

Updates cached DNS records in the Forest Recovery project.

SYNTAX

Set-RMADFEDnsCache [-HostName] <String> [-Address] <Object> [-Override] [<CommonParameters>]

DESCRIPTION

This cmdlet updates the cached DNS records for the specified hostname in the Forest Recovery project.

EXAMPLES

Example 1

PS C:\> Set-RMADFEDnsCache -HostName DC1.rmad.local -Address "192.168.0.2"

This command prepends "192.168.0.2" to the cached DNS records of DC1.rmad.local.

Example 2

PS C:\> Set-RMADFEDnsCache -HostName DC1.rmad.local -Address @("192.168.0.2","10.0.0.2")

This command prepends "192.168.0.2" and "10.0.0.2" to the cached DNS records of DC1.rmad.local.

Example 3

PS C:\> Set-RMADFEDnsCache -HostName DC1.rmad.local -Address "192.168.0.2" -Override

This command resets the cached DNS records of DC1.rmad.local to "192.168.0.2".

PARAMETERS

-Address

Specifies a list of IP addresses for the specified hostname.

Type: Object
Parameter Sets: (All)
Aliases:

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

-HostName

Specifies the hostname of the domain controller.

Type: String
Parameter Sets: (All)
Aliases:

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

-Override

This option lets you reset the cached DNS records to the specified address.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

None

OUTPUTS

NOTES

RELATED LINKS

 

Set-RMADFEDomain


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

schema: 2.0.0

SYNOPSIS

Sets the domain settings for the current RMADFE project.

SYNTAX

AnyParameters (Default)

Set-RMADFEDomain [-Domain] <String> [-Recover <Boolean>] [-AuthoritativeSysvolRestoreComputer <String>]
 [-ResetPasswords <Boolean>] [-Groups <System.Collections.Generic.List`1[System.String]>]
 [-Exclusions <System.Collections.Generic.List`1[System.String]>] [-InformationAction <ActionPreference>]
 [-InformationVariable <String>] [<CommonParameters>]

IncludeCredentials

Set-RMADFEDomain [-Domain] <String> [-Recover <Boolean>] [-AuthoritativeSysvolRestoreComputer <String>]
 -DcCredential <PSCredential> -DsrmCredential <PSCredential> -LocalCredential <PSCredential>
 [-ResetPasswords <Boolean>] [-Groups <System.Collections.Generic.List`1[System.String]>]
 [-Exclusions <System.Collections.Generic.List`1[System.String]>] [-InformationAction <ActionPreference>]
 [-InformationVariable <String>] [<CommonParameters>]

DESCRIPTION

This cmdlet sets the domain settings for the current RMADFE project.

EXAMPLES

EXAMPLE 1

@{paragraph=PS C:\>}

PS C:\> $dcCreds = Get-Credential
$dsrmCreds = Get-Credential

Set-RMADFEDomain -Domain acme.com -Recover $true -AuthoritativeSysvolRestoreComputer dc1.acme.com -DcCredential $dcCreds -DsrmCredential $dsrmCreds

This command applies the domain settings to the acme.com domain.

EXAMPLE 2

@{paragraph=PS C:\>}

Set-RMADFEDomain acme.com -ResetPasswords $true -Groups Group_A, Group_B, Group_C -Exclusions User_01, User_02

This command enables password resetting for domain users in the following privileged groups: Group_A, Group_B, and Group_C in the domain acme.com, except User_01 and User_02.

PARAMETERS

-Domain

Specifies the fully qualified domain name.

Type: String
Parameter Sets: (All)
Aliases:

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

-Recover

This option lets you include the domain into or exclude the domain from the current RMADFE project.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-AuthoritativeSysvolRestoreComputer

This option allows you to configure the domain controller where the authoritative restore of SYSVOL will be performed.

Type: String
Parameter Sets: (All)
Aliases:

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

-ResetPasswords

This parameter resets the password for administrative accounts in the domain during forest recovery, including members of Enterprise Admins, Domain Admins, Administrators, Account Operators, Schema Admins, Group Policy Creator Owners, Backup Operators, Server Operators, and Print Operators.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-Groups

This parameter specifies one or more groups of users (separated by commas).
When this parameter is specified, this command ONLY resets the password for the specified groups of users in the domain instead of the predefined administrative accounts.

Type: System.Collections.Generic.List`1[System.String]
Parameter Sets: (All)
Aliases:

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

-Exclusions

This parameter specifies one or more users (separated by commas).
By default, only the domain administrator configured in your project settings is excluded from password resetting.
When this parameter is specified, both the administrator and the specified user(s) are excluded.

Type: System.Collections.Generic.List`1[System.String]
Parameter Sets: (All)
Aliases:

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

-InformationAction

@{Text=}

Type: ActionPreference
Parameter Sets: (All)
Aliases: infa

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

-InformationVariable

@{Text=}

Type: String
Parameter Sets: (All)
Aliases: iv

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

-DcCredential

Specifies the user name and the password with which you want Recovery Manager for Active Directory Forest Edition to access domain controllers in the selected domain in the Normal mode.
Use the Get-Credential cmdlet provided by Windows PowerShell to get the PSCredential object representing user credentials.

Type: PSCredential
Parameter Sets: IncludeCredentials
Aliases:

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

-DsrmCredential

Specifies the user name and the password with which you want Recovery Manager for Active Directory Forest Edition to access domain controllers in the selected domain in Directory Services Restore Mode (DSRM).
Use the Get-Credential cmdlet provided by Windows PowerShell to get the PSCredential object representing user credentials.

Type: PSCredential
Parameter Sets: IncludeCredentials
Aliases:

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

-LocalCredential

Specifies local credentials for the machine.

Type: PSCredential
Parameter Sets: IncludeCredentials
Aliases:

Required: True
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

 

Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen