Archive for 'Tools/Scripts'

SCRIPT: Check ICA Listener response

Powershell

Last week I was troubleshooting at a customer which was experiencing some “random” periods in which end users could not login at all. When looking at the Load Evaluator I noticed the least loaded server in those periods were the same. When trying to logon to the server through ICA, the server sits forever at […]

SCRIPT: Automatically Change Proxy Settings

Powershell

When you’re in the consulting business, you travel a lot between companies. That what I consider the beautiful part of the job. Downside is that every company has it’s own policy for Internet usage. A lot of companies regulate their internet access through so called proxy servers. When you visit a lot of companies you […]

SCRIPT: Check your WAN IP and get Notified on change

Powershell

One of the first powershell scripts I wanted to share is a script that checks your WAN ip and notifies you by e-mail when it changes. Background: I’ve used to sign up with a dynamic DNS provider but my router stopped updating my ip address to that DynDNS provider. After a while I received an […]

Visio Stencils for Citrix Products

When I was drawing an architectual document in visio, I needed some stencils after a quick search on google I found some and bundled them for my convinience hopefully you like them as well.  

Flexible Active/Idle Session Timeout

Yesterday I was asked to implement a time-out on active citrix sessions. The purpose for the script was to limit the maximum active session time for the user. The HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\ICA-TCP\MaxActiveSession registry key was not flexible enough and I couldn’t find a ready made solution. I decided to develop my own script based on information in […]

Change NIC Configuration by command-line

Last week I was looking for a way to configure certain NIC  options by command-line/script. Options like binding order and disable services on nic’s. Initially I found it hard to find any scripts/tools. Eventually I was pointed (thanks Edwin) to a tool called NVSPBind. To get help run “nvspbind.exe /?” C:\>nvspbind /? Hyper-V Network VSP […]