MSTerminalServices.org Forums

Forums Home | FAQ | Search | Profile | Private Messages | Log in/Register/Password

Total Sessions Created

Page 1 of 1
Next:  Citrix: Citrix Engineer Job  
Author Message
hustlercongress

External


Since: Sep 30, 2008
Posts: 1



(Msg. 1) Posted: Tue Sep 30, 2008 4:29 pm
Post subject: Total Sessions Created
Archived from groups: alt>os>citrix (more info?)

How can I script (in VBScript, PowerShell, or C#.NET) the following.

I'm looking for the total sessions created (since the last reboot).

Thus far, I have only been able to get this number by running QWINSTA
/COUNTER and checking the "Total Sessions Created" value.

NOTE: this number is not equal to the total number of active and
inactive
sessions. The WMI Win32_TerminalService.TotalSessions property is the
total number of
sessions currently on the server. This includes both connected and
disconnected sessions. This is not the same value as the total
sessions
created (since the last reboot) which is provided by Qwinsta /counter
and
checking the "Total Sessions Created" value. I need the "Total
Sessions Created" (since the last reboot) not the "Total Sessions"
currently on the server.
Back to top
Send e-mail Login to vote
Display posts from previous:   
    All times are: Eastern Time (US & Canada) (change) Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Looking for more Terminal Services info?

Sign up to the MSTerminalServices.org Monthly Newsletter, written by Terminal Server MVP & Citrix CTP Stefan Vermeulen, containing news, tips, interviews, links of the month and much more. Subscribe today and don't miss a thing!

Become an MSTerminalServices.org member!

Discuss your Terminal Services & Citrix issues with thousands of other SBC experts. Click here to join!

Community Area

Log in | Register