Query Adobjects
Use the query adobjects command to display information about the deleted objects that are located on the local Active Directory domain.
On Windows Server operating system clients, Active Directory object information can also be displayed from full system-state backups on the server.
Supported Clients
This command is valid for Windows Server OS clients only.
Syntax
>>-Query ADOBJects--+-------------------+--+---------+--------->< '- --sourcepathspec-' '-options-'
Parameters
- sourcepathspec
- Specifies the Active Directory object or container to query. You can specify an asterisk (*) as
a wildcard character. You can specify either the full distinguished name of an object or a
container, or just the name attribute (cn or ou), where the wildcard might be used. You can also
specify object GUID enclosed in braces ({}). The following special characters require an escape
character, the backslash, (\), if any of them are contained in the name:
- \
- #
- +
- =
- <
- >
For example, "cn=test#" is entered as "cn=test\#".
Tivoli® Storage Manager cannot display any object names that contain an asterisk (*) as part of the name.
Option | Where to use |
---|---|
adlocation | Command line only. |
dateformat | Client options file (dsm.opt) or command line. |
detail | Command line only. |
pitdate (option is ignored when adlocation is not specified) | Command line only. |
pittime (option is ignored when adlocation is not specified) | Command line only. |
scrolllines | Client options file (dsm.opt) or command line. |
scrollprompt | Client options file (dsm.opt) or command line. |
timeformat | Client options file (dsm.opt) or command line. |
Examples
- Task
- Query all local deleted objects.
Command: query adobjects
- Task
- Query all local deleted objects for a user with the name starting
with Fred.
Command: query adobjects "cn=Fred*" -detail
- Task
- Query all objects that are located in the Users container of the bryan.test.example.com domain
from the server (Windows Server 2008 only).
Command: query adobjects "cn=Users,DC=bryan,DC=test,DC=ibm,DC=com" -adloc=server
- Task
- Query all local deleted objects for organizational unit testou.
Command: query adobjects "ou=testou"
- Task
- Query the local deleted object with a GUID of E079130D-3451-4C69-8349-31747E26C75B.
Command: query adobjects {E079130D-3451-4C69-8349-31747E26C75B}