Microsoft
Software
Hardware
Network
Question : How to use DSQUERY to get a list of the active users.
I am wanting to just get the active users in a domain i.e the ones who have logged on in the last week.
I have run from the command: dsquery user - active 1 >>c:\active.txt but it does not seem to like the word active. Is DSQUERY only to find out inactive details
Answer : How to use DSQUERY to get a list of the active users.
You have the possibility to query for inactive users that hasn't logged on the last weeks by using -inactive parameter, but there's not a -active parameter for the query you want.
Random Solutions
Pass through query to Oracle
Get active application name
Flash won't install in IE7
How do you get the Date and Time into the format CCYYMMDDHHMMSS?
Safe Shutdown of Windows 2008 Server connected to APC UPS
Add preset percentile counts to SQL SP
Can I Save Intel Graphics Media Accelerator Driver schemes?
Print raw data to the printer:
Dell XPS 600 Power Supply Replacement
SQL 2008 - Need to use calcualted field in another calculation