‎04-23-2015 05:55 PM
Select Top 1000000 tblADusers.Username,
tblADusers.Userdomain,
tblADusers.LogonScript,
tblADusers.OU
From tblADusers
Where tblADusers.LogonScript Is Null
Solved! Go to Solution.
‎04-24-2015 11:52 AM
Select Top 1000000 tblADusers.Username,
tblADusers.Userdomain,
tblADusers.LogonScript,
tblADusers.OU
From tblADusers
Where tblADusers.LogonScript Is Null And
tblADusers.OU Not In
('OU=Common_Users,OU=Spain,OU=EUROPE,OU=User_Accounts,DC=mydomain,DC=net',
'OU=IT,OU=Spain,OU=EUROPE,OU=User_Accounts,DC=mydomain,DC=net',
'OU=IT,OU=TEST,OU=Spain,OU=EUROPE,OU=User_Accounts,DC=mydomain,DC=net')
‎04-24-2015 11:52 AM
Select Top 1000000 tblADusers.Username,
tblADusers.Userdomain,
tblADusers.LogonScript,
tblADusers.OU
From tblADusers
Where tblADusers.LogonScript Is Null And
tblADusers.OU Not In
('OU=Common_Users,OU=Spain,OU=EUROPE,OU=User_Accounts,DC=mydomain,DC=net',
'OU=IT,OU=Spain,OU=EUROPE,OU=User_Accounts,DC=mydomain,DC=net',
'OU=IT,OU=TEST,OU=Spain,OU=EUROPE,OU=User_Accounts,DC=mydomain,DC=net')
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now