Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Jackbennett/3b0211964a1a6b962308be0f1bbcf2dc to your computer and use it in GitHub Desktop.
Save Jackbennett/3b0211964a1a6b962308be0f1bbcf2dc to your computer and use it in GitHub Desktop.
jbennett $ $b
Username LogonTime ComputerName
-------- --------- ------------
usera 17/05/2016 14:16:15 U0xPC17
userb 17/05/2016 10:14:33 U0xPC17
userc 17/05/2016 09:22:08 U0xPC17
C:\Windows\System32\WindowsPowerShell\v1.0
jbennett $ $a
Username LogoffTime ComputerName
-------- ---------- ------------
userb 17/05/2016 10:17:06 U0xPC17
userc 17/05/2016 09:30:33 U0xPC17
Add LogoffTime to $b where username and computername match?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment