Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script for disconnect users

Status
Not open for further replies.

dkelvin

MIS
Jun 11, 2008
1
US
Hi everyone,
I am trying to create a Powershell script that would log disconnected user from their Terminal Service session.
From TS, I can do a "query user" and get list of currently connected users. it is just a matter putting everything into an xls format and assign a variable to each cell. if the user is disconnected, then log off that user.
Can some one please help? thanks in advance for your help,

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top