external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Allows you to selectively unregister backups from the Recovery Manager backup registration database.
Remove-RMADBackup [-InputObject] <BackupInfo[]> [-Delete <Boolean>] [-ShareCredential <PSCredential>]
[-IgnoreReadOnly] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-RMADBackup [-Id] <Int32[]> [-Delete <Boolean>] [-ShareCredential <PSCredential>] [-IgnoreReadOnly]
[-WhatIf] [-Confirm] [<CommonParameters>]
Allows you to selectively unregister backups from the Recovery Manager backup registration database. Optionally, you can delete the unregistered backups from their location.
PS C:\> Get-RMADBackup | Where-Object {$_.Date -lt (Get-Date).AddDays(-15)} | Remove-RMADBackup -Delete $true
Gets all backups created by Recovery Manager for Active Directory in the last 15 days, unregisters these backups from the backup registration database, and then deletes the backup files.
Specifies to delete the backups being unregistered from their locations. This parameter can take one of the following values:
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the IDs of the backups you want to unregister from the Recovery Manager backup registration database. If you use this parameter, omit the InputObject parameter of this cmdlet.
Type: Int32[]
Parameter Sets: Id
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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
Specifies the IBackupInfo objects representing the backups you want to unregister from the Recovery Manager backup registration database. If you use this parameter, omit the Id parameter of this cmdlet.
Type: BackupInfo[]
Parameter Sets: Instance
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies credential for share folder that contains the backup in case of -delete flag is true.
Type: PSCredential
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:
Removes Recovery Manager Backup Agent from a specified computer, or its registration information from the Recovery Manager Console.
Remove-RMADBackupAgent [-Computer] <String> [[-Credentials] <PSCredential>] [-Uninstall] [-IgnoreReadOnly]
[<CommonParameters>]
Allows you to completely remove Recovery Manager Backup Agent from a specified computer. You can also select to remove only registration information that relates to a particular Backup Agent from the Recovery Manager Console. This may be useful if you removed Backup Agent from a computer manually but the related agent entry remains on the Backup Agent Management node of the Recovery Manager Console.
PS C:\> Remove-RMADBackupAgent -Computer "dc1"
This code removes registration information that relates to Backup Agent installed on the computer "dc1" from the Recovery Management Console.
PS C:\> $credential = Get-Credential
Remove-RMADBackupAgent -Computer "dc1" -Credentials $credential -Uninstall
This code connects to the computer "dc1" under the user represented by the "credential" object and removes Backup Agent from it. Note that corresponding Backup Agent registration information is removed from the Recovery Management Console as well.
Specifies the name of the computer from which to remove Recovery Manager Backup Agent.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the user name and the password of the user account to use for connecting to the target computer and removing Backup Agent. Use the Get-Credential cmdlet provided by Windows PowerShell to get the PSCredential object representing user credentials.
Notes:
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
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
Specifies whether the Recovery Manager Backup Agent should be completely removed. If this parameter is omitted, only the agent registration information will be removed.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
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:
Deletes specified Computer Collections.
Remove-RMADCollection [-Name] <String[]> [-IgnoreReadOnly] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-RMADCollection [-InputObject] <ComputerCollection[]> [-IgnoreReadOnly] [-WhatIf] [-Confirm]
[<CommonParameters>]
Remove-RMADCollection [-Id] <Int32[]> [-IgnoreReadOnly] [-WhatIf] [-Confirm] [<CommonParameters>]
Deletes the Computer Collections that have the specified name or are represented by the specified objects.
PS C:\> Remove-RMADCollection -Name "New Computer Collection"
Deletes the computer collection named New Computer Collection.
PS C:\> Get-RMADCollection | Where-Object {$_.Schedule.Count -eq 0} | Remove-RMADCollection
The Get-RMADCollection cmdlet gets all computer collections. The Where-Object cmdlet then filters out the collections for which no backup creation operation is scheduled. The pipeline operator passes the filtered collection objects to the Remove-RMADCollection cmdlet, which deletes these collection objects.
Specifies the identifier of the Computer Collection to delete.
Type: Int32[]
Parameter Sets: Id
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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
Deletes Computer Collections represented by the specified collection objects. Enter a 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
Specifies the name of the Computer Collection to be deleted.
Type: String[]
Parameter Sets: Name
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
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:
Removes items from a specified Computer Collection.
Remove-RMADCollectionItem [-Collection] <String[]> [-Item] <String[]> [-IgnoreReadOnly] [<CommonParameters>]
Allows you to selectively remove items from the Computer Collection you specify.
PS C:\> Remove-RMADCollectionItem -Collection Collection1 -Item Comp1
Removes the item named Comp1 from the Computer Collection named Collection1.
Specifies the Computer Collection from which to remove items. To specify a Computer Collection, type the Computer Collection name in this parameter.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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
Specifies items to remove from the Computer Collection. To specify an item, type the item name in this parameter.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
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