Hi All,
I am trying to get Users Last Logon using a test file in which I have users SAM accounts
Below is my script-
----------------------------------------
import-csv users.csv | Get-QADUser -id {$_.csvColumnName} | select name,LastLogonTimestamp|
export-csv users1.csv
-----------------------------------------------
But this is not working. Can somebody help