335 pts.
 How to write a PowerShell 2 script to see what users are logged on?
I'm learning PowerShell. I have a test pc set up with Active Directory, called Enterprise1 (for Windows 2003 Enterprise edition sp2). How would I write a PowerShell 2 script to see what users are logged on? Also how would I write a script to send all logged on users a message then log all users off, like in an emergency situation?

Software/Hardware used:
ASKED: December 15, 2008  6:52 PM
UPDATED: December 15, 2008  7:42 PM

Answer Wiki:
Checkout <a href="http://www.powergui.org/index.jspa">PowerGui</a>. There might be some resources there to assist.
Last Wiki Answer Submitted:  December 15, 2008  7:33 pm  by  Labnuke99   32,645 pts.
All Answer Wiki Contributors:  Labnuke99   32,645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _