How to write a PowerShell 2 script to see what users are logged on?
195 pts.
0
Q:
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?
ASKED: Dec 15 2008  6:52 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
26290 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Checkout PowerGui. There might be some resources there to assist.
Last Answered: Dec 15 2008  7:33 PM GMT by Labnuke99   26290 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0