Hi

I need to be able to check the hostname of the machine that the user is on and either match this to a text file or match keyword (such as SQL, IIS, PRINT) etc so that if there is a match I can log the user out

The reason behind this is that I don't want to run our logon scripts if the user is logging onto one of our servers

Thanks in advance