Your network contains an Active Directory domain named adatum.com. The domain contains several thousand
member servers that run Windows Server 2012. All ofthe computer accounts for the member servers are in an
organizational unit (OU) named ServersAccounts.
Servers are restarted only occasionally.
You need to identify which servers were restarted during the last two days.
What should you do?
A.
Run dsquery computer and specify the -stalepwd parameter
B.
Run dsquery server and specify the -o parameter.
C.
Run Get-ADComputer and specify the lastlogon property.
D.
Run Get-ADComputer and specify the SearchScope parameter
Explanation:
A: dsquery computer -stalepwdnumber_of_days – Searches for all computers that have not changed
theirpassword for the specified number_of_days. B: dsquery server -o {dn | rdn | samid} – Specifies the format
in which the list of entries found by the search willbe displayed: dn distinguished name of each entry , default;
rdn relative distinguished name of each entry;
samid SAM account name of each entry computer groupserver user; upn user principal name of each
entryuser
C: Gets one or more Active Directory computers lastLogondate should be used D: SearchScope specifies the
scope of an Active Directory search. Possible values for this parameter are:
Base or 0; OneLevel or 1; Subtree or 2 – A Base query searches only the current path or object.
AOneLevelquery searches the immediate children of that path or object. A Subtree query searches the current
path orobject and all children of that path or object.
http://technet.microsoft.com/en-us/library/ee617192.aspx http://technet.microsoft.com/en-us/library/cc732952
(v=ws.10).aspx