Again we have to loop through the domain controllers but we don’t get a cmdlet for that. There’s a nice easy bit of .NET we can use function Get-QADUserLastLogon {
param (
[string] $userName
)
[System.DirectoryServices.ActiveDirectory.Domain… Read the full text.