Re: Looking for sniplet for Terminal Services

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dave Jones (jonesd_at_acd.net)
Date: 03/10/04


Date: Wed, 10 Mar 2004 10:51:40 -0500

Thanks Michael!!!! That's works great! Had to make some minor changes to the
subtraction line and I wanted the sever names with their connections instead
of just the last 3 characters, but other than that, seems to do the jobe
just fine. Now I can just email the reports to the boss instead of
me..Thanks again!

"Michael Holzemer" <mholzemer.greyhair@pacbell.net> wrote in message
news:e5bgQBoBEHA.2308@tk2msftngp13.phx.gbl...
> In item <eAUafQiBEHA.4080@TK2MSFTNGP09.phx.gbl>,
> Don Grover says...
>
> > Try This
> > '**************************
>
> <snip>
>
> >
> > "Dave Jones" <jonesd@acd.net> wrote in message
> > news:%23r6qkjgBEHA.1544@TK2MSFTNGP09.phx.gbl...
> >> I have a 32 server citrix server farm and I'm looking for a way to
script
> >> the number of connections I have to each server. I would like to
schedule
> >> this to run every hour so I can see my client distribution across the
> >> servers or identify a server that is having problems. Has anyone done
any
> >> scripting of this kind or know a good source to pull from?
>
> Don,
>
> If you are going to repost my code you could have at least either leave my
name
> on it or indicate in some way that you did not write it. I do not have a
problem
> sharing but it annoys me that you have appear to have claimed my hard work
as
> your own.
>
> Dave,
>
> See the original code here.
>
>
http://www.developersdex.com/asp/message.asp?p=1825&ID=%3Ce01wnZE6DHA.1968%40TK2MSFTNGP11.phx.gbl%3E
>
> In addition this may not work for you because I think you are not using
> winstations. You can however change the part ("Select * from
> Win32_PerfRawData_TermService_TerminalServices") to a data counter you
have.
> Download the scriptomatic to see the syntax for the perfRawData you need
(you
> will need to run this on a MetaFrame server). You can also quickly check
to see
> if this script will work by opening perfomance monitor and seeing if the
counter
> terminal services sessions returns the proper value. Otherwise you will
need to
> replace this part of the code with your counter for ICA.
>
> --
> Regards,
>
> Michael Holzemer
> No email replies please - reply in newsgroup
>
> Learn script faster by searching here
> http://www.microsoft.com/technet/community/scriptcenter/default.mspx
>
>



Relevant Pages

  • Re: User Profile
    ... "OregonSteve" skrev i meddelandet ... >> Place the script in NETLOGON share and type just the name of the script ... >> No email replies please - reply in the newsgroup ...
    (microsoft.public.win2000.active_directory)
  • Re: Listening to...
    ... On Mon, 29 Aug 2005 14:35:14 GMT, pmj wrote: ... > Panda, how come you haven't got one of those little Script things ... Because no matter how cunningly programmed the script is, ... Email replies to this message are dumped to dev/null or some other black ...
    (uk.people.silversurfers)
  • Re: Group policy to set time zone
    ... >> Assign the script within a Logon/Startup script with in a GPO. ... >> Christoffer Andersson ... >> No email replies please - reply in the newsgroup ...
    (microsoft.public.windows.group_policy)
  • Re: Changing Windows 2003 product key
    ... Jonathan may be correct but this seems to contradicts the article. ... try the script? ... Dave Patrick ....Please no email replies - reply in newsgroup. ...
    (microsoft.public.windows.server.general)
  • Re: Automation - CPL file
    ... Dave Patrick ....Please no email replies - reply in newsgroup. ... | I'd like to know if there's a way to create a vb script to launch and CPL ...
    (microsoft.public.scripting.vbscript)