Tuesday, October 2, 2018

show last logon time for a computer account in powershell

 here is how you show the last logon date for a computer account in powershell

Import-Module ActiveDirectory

Get-ADcomputer -Filter * -properties * | sort lastlogondate | FT name, Lastlogondate, Win32_operatingsystem

Source

No comments:

Post a Comment

xpipe

 so i have found this app recently and thought i would share. XPipe is a new type of shell connection hub and remote file manager that allow...