I need to create a script with the following characteristics:
Two people in particular and if they connect only to a specific machine
I tried the following, but it gives me error:
IF @USERID = 'Fores' OR @USERID = 'Tom' AND (@WKSTA,4)="W209"
USE Z: "\\srvapp\app"