title: Powershell - Who activated a User
body: <p>I'm a beginner in Powershell and I would like to create a script to check who activated a specific user in our AD.</p>
  <p>So far, I have this:</p>
  <pre><code>Get-EventLog -LogName Security -ComputerName ad.root| Where-Object {$_.EventID -eq 4722} | Select-Object -Property *
  </code></pre>
  <p>First of all, is this right? It checks all the activated users in the ad.root domain.
  Second...How can I search for a specific user a display it?</p>
  <p>I tried the select-object parameter, but it don't work.</p>
  <p>Thanks in advance.</p>