cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TbrokeLV
Engaged Sweeper
I'm trying to find a report that can tell me which AD accounts are set to log on to all computers and can't find anything. In AD, this setting is on the "Account" tab>"Log On To..." button. Is there such a report? Thanks.
2 REPLIES 2
TbrokeLV
Engaged Sweeper
Thank you, @RKCar! This script worked perfectly.
grimstar
Champion Sweeper II
I think this is stored within an attribute that Lansweeper doesn't query. The following is a PowerShell script which will give you a list, albeit outside of Lansweeper.

$logLocation = 'C:\Windows\Temp\LogOnTo.csv'
get-aduser -filter * -properties LogonWorkstations | Select-Object SamAccountName, Name, LogonWorkstations | Export-csv -path $logLocation -NoTypeInformation