View Single Post
Old 10-08-2008, 06:01 AM   #3 (permalink)
justcrash
Registered User
 
Join Date: Sep 2008
Posts: 89
OS: Win XP Pro/Server 2003


Re: How can I configure PSshutdown to log off users in AD?

Quote:
Originally Posted by settle View Post
Hi,
Here u go to logoff the users remotely. But you should be a member of doman admins then only it will work.

psshutdown -o -t 60 -f @hosts.txt

To get an brief idea on psshutdown look into the attachment...

Best of Luck :)
Thank you! So do I make that a .bat file? How do I schedule the log off for an OU in AD?
justcrash is offline   Reply With Quote