I want a login script to run only when logged onto computers begging with FN. If the computer begins with something else i would like the script to quit.
I am maybe thinking about something like this
But this doesnt work.Code:
if (Left(computerName, 2) = "FN") then
WScript.Echo("yes it is")
Does anybody have any ideas please?