|
Re: How can I configure PSshutdown to log off users in AD?
I don't think , we can use this for OU.
You can specify the computer names what all computers you want to logoff from sessions by adding a perameter @computernames.txt.
For this you just have all the computernames in one text file and specify the file in the psshutdown command. As i given
psshutdown -o -t 60 -f @hosts.txt
Consider that hosts.txt is having the computernames.
Thanks,
|