ASKER
# Get a list of computers
$computers = get-adcomputer -filter * | select-object -expandproperty name
# Item one completed
$mycomputer = $env:computername # we don't want to restart this computer until the end
foreach ($computer in $computers) {
if ($computer -ne $mycomputer) {
restart-computer -name $computer
}
}
restart-computer -name $mycomputer
}
define exactly what you mean by success or failure? ASKER
EMCO lets you emulate the DomainYes, and very expensive
ASKER
Active Directory (AD) is a Microsoft brand for identity-related capabilities. In the on-premises world, Windows Server AD provides a set of identity capabilities and services, and is hugely popular (88% of Fortune 1000 and 95% of enterprises use AD). This topic includes all things Active Directory including DNS, Group Policy, DFS, troubleshooting, ADFS, and all other topics under the Microsoft AD and identity umbrella.
TRUSTED BY
ASKER