external help file: QuestSoftware.RecoveryManager.AD.PowerShell.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShell
online version:
Retrieves information about items added to specified Recovery Manager for Active Directory computer collections.
Get-RMADCollectionItem [-InputObject] <ComputerCollection[]> [-UseCache] [-ComputerInfo] [<CommonParameters>]
Get-RMADCollectionItem [-UseCache] [-Name] <String[]> [-ComputerInfo] [<CommonParameters>]
Get-RMADCollectionItem [-UseCache] [-Id] <Int32[]> [-ComputerInfo] [<CommonParameters>]
Retrieves information about items added to specified Recovery Manager for Active Directory computer collections. You can use this cmdlet to retrieve information about one of the following:
PS C:\> Get-RMADCollectionItem -Collection NewCollection
Retrieves information about items that are explicitly added to the Computer Collection named NewCollection. These items can include domain controllers, Active Directory domains, Active Directory sites, organizational units, AD LDS (ADAM) hosts, AD LDS (ADAM) instances, and AD LDS (ADAM) sites.
PS C:\> Get-RMADCollectionItem -Collection NewCollection -ComputerInfo
Retrieves information about domain controllers and AD LDS (ADAM) hosts explicitly or implicitly added to the Computer Collection named NewCollection.
When present, specifies to retrieve information about the domain controllers and AD LDS (ADAM) hosts that are explicitly or implicitly added to the computer collections you specified in the Collection parameter.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the identifier of the computer collection that includes the items you want to retrieve.
Type: Int32[]
Parameter Sets: Id
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the object representing the computer collections that include the items you want to retrieve.
Type: ComputerCollection[]
Parameter Sets: InputObject
Aliases: Collection
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the name of the computer collection that includes the items you want to retrieve.
Type: String[]
Parameter Sets: Name
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies to return the data from cache
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:
Retrieves deleted Active Directory objects.
Get-RMADDeletedObject [-All] [-Restorable] [-Computer <String>] [-RetrieveOnlyUnpackedBackups]
[-ForceBackupRetrieving] [-Name <String[]>] [-Count <Int32>] [-Attribute <String[]>] [-SearchBase <String>]
[-Timeout <Int32>] [-UseSsl] [-Server <String>] [-Credential <PSCredential>] [-Partition <String>]
[-Port <Int32>] [-IgnoreReadOnly] [<CommonParameters>]
Get-RMADDeletedObject [-All] [-Restorable] [-Computer <String>] [-RetrieveOnlyUnpackedBackups]
[-ForceBackupRetrieving] [-Id <String[]>] [-Attribute <String[]>] [-UseSsl] [-Server <String>]
[-Credential <PSCredential>] [-Partition <String>] [-Port <Int32>] [-IgnoreReadOnly] [<CommonParameters>]
Get-RMADDeletedObject [-All] [-Restorable] [-Computer <String>] [-RetrieveOnlyUnpackedBackups]
[-ForceBackupRetrieving] [-Filter <String>] [-Count <Int32>] [-Attribute <String[]>] [-SearchBase <String>]
[-Timeout <Int32>] [-UseSsl] [-Server <String>] [-Credential <PSCredential>] [-Partition <String>]
[-Port <Int32>] [-IgnoreReadOnly] [<CommonParameters>]
Allows you to retrieve specific deleted or recycled Active Directory objects. The cmdlet retrieves objects from the default naming context or the Active Directory partition you specify. You can only retrieve recycled objects when Microsoft's Active Directory Recycle Bin is enabled in your environment. By default, for each deleted object, this cmdlet retrieves the following attributes:
You can also specify additional attributes you want to retrieve.
PS C:\> Get-RMADDeletedObject
This command retrieves all deleted Active Directory objects in the current domain.
PS C:\> Get-RMADDeletedObject -Name "User 1"
This command uses ambiguous name resolution (ANR) to look for and retrieve the deleted objects whose Name attribute value is User 1.
PS C:\> Get-RMADDeletedObject -Name "User 1" -Attribute usnChanged, usnCreated
This command uses ambiguous name resolution (ANR) to look for and retrieve the deleted objects whose Name attribute value is User 1. In addition to the default set of object attributes (that is, GUID, Distinguished name (DN), Name, and objectClass), this command also retrieves the attributes usnChanged and usnCreated.
PS C:\> Get-RMADDeletedObject -Filter "whenCreated>=20220601123000.0Z"
This command retrieves all deleted objects that were created on 1 June 2022 at 12:30:00 or after this date.
PS C:\> Get-RMADDeletedObject -Filter "whenCreated=20220601000000.0Z"
This command retrieves all deleted objects that were created on 1 June 2022 between 00:00:00 and 23:59:59.
PS C:\> Get-RMADDeletedObject -Filter "distinguishedName='CN=user1\\0ADEL:b0806312-d320-41fb-9e4d-ebad82706a74,CN=Deleted Objects,DC=mydomain,DC=com'"
Retrieves the deleted object whose distinguished name (DN) is CN=user1\0ADEL:b0806312-d320-41fb-9e4d-ebad82706a74,CN=Deleted Objects,DC=mydomain,DC=com.
PS C:\> Get-RMADDeletedObject -Name user1 -SearchBase 'OU=Users,DC=domain,DC=com'
Gets the deleted object whose Name attribute value is user1 and that was deleted from the container with DN OU=Users,DC=domain,DC=com or from any of its subcontainers.
Specifies to retrieve all deleted and recycled Active Directory objects.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: ShowRecycled
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the object attributes to retrieve in addition to the attributes retrieved by default. If this parameter is omitted or empty, the cmdlet retrieves the following default set of object attributes:
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the computer whose backups contain the deleted object to retrieve.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Limits the maximum number of objects to retrieve.
Type: Int32
Parameter Sets: Name, Filter
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
Allows you to filter objects by attribute names and attribute values. For the syntax this parameter accepts, see the examples provided for this cmdlet.
Type: String
Parameter Sets: Filter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Retrieves the ID of the backup that contains the deleted object even if this object can be restored using the Active Directory Recycle Bin.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the identifier of the object to retrieve. This parameter accepts one of the following:
Type: String[]
Parameter Sets: Identity
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
Retrieves objects whose Name attribute value is equal to the value specified in this parameter. The Name attribute stores object's relative distinguished name (RDN) which looks similar to the following:
User 1\0ADEL:7dbac5c7-f38d-4270-8ac2-7a0674bc246b
Type: String[]
Parameter Sets: Name
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 you want to retrieve objects. If this parameter is omitted, the default naming context is used. This parameter is required if you specify an AD LDS (ADAM) instance host in the Server 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 connect to. If this parameter is set to 0 or omitted, 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
Specifies to retrieve only those objects that can be completely restored. That is, objects located in Microsoft's Active Directory Recycle Bin or in a backup registered with Recovery Manager for Active Directory.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Retrieves the deleted objects only from the unpacked backups.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies an Active Directory container in which to search for deleted objects. This is the container from which the objects you want to find were deleted. The search is performed in the specified container and all its subcontainers, including the deleted ones. Specify the distinguished name (DN) of the container in which you want to search.
Type: String
Parameter Sets: Name, Filter
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, deleted objects are retrieved 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
Specifies the maximum wait time for retrieving the objects, in seconds. The default value is 30.
Type: Int32
Parameter Sets: Name, Filter
Aliases:
Required: False
Position: Named
Default value: 30
Accept pipeline input: False
Accept wildcard characters: False
Specifies whether use Secure Sockets Layer (SSL) to encrypt the connection.
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.PowerShellFE.dll-Help.xml
Module Name: Quest.RecoveryManager.AD.PowerShellFE
online version:
For internal use only.
Get-RMADFEAvailableSubnet [[-NetworkAddress] <String>]
[[-CurrentSubnets] <System.Collections.Generic.List`1[System.String]>] [[-Cidr] <Int32>] [<CommonParameters>]
For internal use only.
PS C:\> {{ Add example code here }}
{{ Add example description here }}
For internal use only.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
For internal use only.
Type: System.Collections.Generic.List`1[System.String]
Parameter Sets: (All)
Aliases: Subnets
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
For internal use only.
Type: String
Parameter Sets: (All)
Aliases: Network
Required: False
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:
Returns cloud storage registered in Recovery Manager for Active Directory.
Get-RMADFECloudStorage [-Id <Int32>] [<CommonParameters>]
Returns cloud storage registered in Recovery Manager for Active Directory specified by the Id parameter. Display name, container and type of cloud storage is returned. If no Id parameter provided all registered cloud storages will be returned.
PS C:\> Get-RMADFECloudStorage
Id DisplayName Container Type
-- ----------- --------- ----
1 MyCloudStorage adbackups CloudStorageAzure
2 CompanyStorage bmrbackups CloudStorageAzure
Returns all registered cloud storages in Recovery Manager for Active Directory.
PS C:\> Get-RMADFECloudStorage -Id 1
Id DisplayName Container Type
-- ----------- --------- ----
1 MyCloudStorage adbackups CloudStorageAzure
Retrieve a cloud storage specified by the Id parameter. If no Id parameter provided all registered cloud storages will be returned.
Cloud storage Id that is registered in Recovery Manager for Active Directory.
Type: Int32
Parameter Sets: (All)
Aliases: StorageId
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. Conditions d’utilisation Confidentialité Cookie Preference Center