external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Recycles specific deleted Active Directory objects.
ConvertTo-RMADRecycledObject -Name <String[]> [-Force] [-Server <String>] [-Credential <PSCredential>]
[-Partition <String>] [-Port <Int32>] [-IgnoreReadOnly] [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Allows you to manually recycle specific deleted Active Directory objects held in Microsoft's Active Directory Recycle Bin in the forest where Recovery Manager is installed.
This cmdlet overrides the deleted object lifetime setting that applies to the deleted objects being recycled.
You can only use this cmdlet if Microsoft's Active Directory Recycle Bin feature is enabled in the forest where Recovery Manager is installed.
PS C:\> (Get-RMADDeletedObject dc1.dom1.lab.local) |
Where-Object { $_.objectclass -contains "user" } |
Foreach-Object { ConvertTo-RMADRecycledObject -Name $_.Name -Server dc1.dom1.lab.local }
This example shows how to recycle all user objects held in Microsoft's Active Directory Recycle Bin.
The Get-RMADDeletedObject cmdlet gets all deleted objects from Microsoft's Active Directory Recycle Bin by connecting to the dc1.dom1.lab.local domain controller.
Then the Get-RMADDeletedObject cmdlet pipes the objects to the Where-Object cmdlet that filters out user objects.
Then, the Foreach-Object cmdlet uses the ConvertTo-RMADRecycledObject cmdlet to transfer each user object to the recycled state.
PS C:\> ConvertTo-RMADRecycledObject -Name "User 1\0ADEL:7dbac5c7-f38d-4270-8ac2-7a0674bc246b"
Converts the deleted object "User 1\0ADEL:7dbac5c7-f38d-4270-8ac2-7a0674bc246b" to recycled state.
Allows you to specify the deleted object you want to recycle.
To specify a deleted object, enter the value of the object's Name attribute in this parameter.
The Name attribute provides the object's relative distinguished name (RDN) that looks similar to the following:
User 1\0ADEL:7dbac5c7-f38d-4270-8ac2-7a0674bc246bTo view the value of the Name attribute for a deleted object, you can use the Get-RMADDeletedObject cmdlet.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Suppresses the cmdlet prompt for confirmation.
When this parameter is omitted, the cmdlet prompts you for confirmation before recycling objects.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Active Directory domain, domain controller, or AD LDS (ADAM) instance host from which you want the cmdlet to retrieve objects.
If this parameter is omitted, the cmdlet retrieves objects from any available domain controller in the current domain.
To specify a domain controller or AD LDS (ADAM) instance host, use the computer name or IP address.
If you specify an Active Directory domain name in this parameter, the cmdlet retrieves objects from any available domain controller in the specified domain.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The user name and password of the user account with which you want to connect, in the form of a PSCredential object.
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
Specifies the distinguished name of the Active Directory partition from which deleted objects are to be retrieved.
If this parameter is omitted, the default naming context is used.
This parameter is required if you specify an ADAM instance host in the DirectoryHost parameter.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the port number to be used for connection.
If this parameter is set to 0 or not specified, the default LDAP port (389) is used.
Type: Int32
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: None
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: 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: None
Accept pipeline input: False
Accept wildcard characters: False
@{Text=}
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@{Text=}
Type: String
Parameter Sets: (All)
Aliases: iv
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.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:
Copies a backup from a network share to the secure storage server.
Copy-RMADFEBackup -BackupPath <String> [-BackupAccessCredentials <PSCredential>] -StorageServer <String>
[-AgentPort <UInt32>] [-AsJob] [<CommonParameters>]
Copies a backup from a network share to the secure storage server. Backup is pulled from a network share
by an agent running on the secure storage server.
$credentials = New-Object PSCredential("user", (ConvertTo-SecureString "password" -asPlainText -Force) )
Copy-RMADFEBackup -StorageServer 'storage' -StorageServerBackupPath 'E:\Backups\DC1.rmad.local\2020-09-10 14-54-49.bkf' -BackupPath '\\fr\backupsnew\DC1.rmad.local\2020-09-10 14-54-49.bkf' -BackupAccessCredentials $credentials
Runs the command as a background job.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Network credentials to access the backup stored on BackupPath.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Network path to the backup.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Secure storage name or IP address. Assumimg that the Foreset Recovery agent is already installed on secure storage server.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Secure storage agent port
Type: UInt32
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:
Creates storage server agent setup.
Create-RMADStorageAgentSetup [-Path] <String> [-Port <Int32>] [<CommonParameters>]
Create storage server agent setup bundle packed to the ZIP archive that contains required components to deploy the storage server agent.
PS C:\> Create-RMADStorageAgentSetup -Path "C:\Setup.zip" -StorageAgentPort 48001
Creates a setup bundle and puts it in the specified file.
Path to the result file in which the setup will be created.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Port that will be used to run storage agent on.
Type: Int32
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:
Extracts the contents of a specified backup file.
Expand-RMADBackup [-InputObject] <BackupInfo[]> [-BackupPassword <SecureString>] [-UseLegacyEncryption]
[-TargetFolder] <String> [[-Components] <BackupComponentBits>] [-AsJob]
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
Expand-RMADBackup [-Path] <String[]> [-BackupPassword <SecureString>] [-UseLegacyEncryption]
[-TargetFolder] <String> [[-Components] <BackupComponentBits>] [-AsJob]
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
Expand-RMADBackup [-Id] <Int32[]> [-BackupPassword <SecureString>] [-UseLegacyEncryption]
[-TargetFolder] <String> [[-Components] <BackupComponentBits>] [-AsJob]
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
Allows you to selectively extract the contents of a backup file created with Recovery Manager for Active Directory to the location you want.
PS C:\> Expand-RMADBackup -InputObject (Get-RMADBackup | where {$_.Date -gt (Get-Date).AddDays(-2)}) -TargetFolder 'C:\UnpackedBackups'
This command extracts the contents of all backups created within last two days to the local folder C:\UnpackedBackups.
Accepts a backup object as input to the cmdlet.
Enter a variable that contains the object or type a command or expression that gets the object.
Type: BackupInfo[]
Parameter Sets: BackupInfo
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
If the backup is password-protected, specifies the password to open the backup.
The parameter value must be a SecureString object.
Type: SecureString
Parameter Sets: (All)
Aliases: Password
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Allows you to work with backups encrypted by the RC4 algorithm from RSA, Inc.
(Microsoft RSA Base Provider).
This algorithm is used to back up Windows Server 2003/2003 R2 domain controllers in Recovery Manager for Active Directory 8.2.x and 8.5.x.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the target folder to which you want to extract the backup.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the backup components you want to extract.
When specifying multiple backup components in this parameter, use a comma as a separator.
This parameter accepts the following values for backup components:* Sam - Specifies to extract the SAM registry hive.
Type: BackupComponentBits
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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: None
Accept pipeline input: False
Accept wildcard characters: False
Path to the backup file.
Type: String[]
Parameter Sets: Bkf
Aliases: FullName
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies the identifier of the backup you want to extract.
Type: Int32[]
Parameter Sets: Id
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
@{Text=}
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@{Text=}
Type: String
Parameter Sets: (All)
Aliases: iv
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 使用条款 隐私 Cookie Preference Center