簡單版只有抓時間:
Get-ADUser UserName -Properties * | select-object whenChanged
複雜版什麼鬼東西都抓出來 (JerryChang 大魔神提供)
Get-ADReplicationAttributeMetadata `
-Object "CN=UserName,OU=User,DC=Contoso,DC=com" `
-Server DC.Contoso.com | Select-Object `
AttributeName, `
AttributeValue, `
LastOriginatingChangeTime, `
LastOriginatingChangeDirectoryServerInvocationId | Out-GridView
沒有留言:
張貼留言