Hi,

Can I use a Ingroup under a case, like this script below?Because I can't get it to work.

Case $Gateway="10.113.0.1"

If InGroup("Pri-NL-Administratie")
If AddPrinterConnection ("\\amssrv050\HP4300 IFS Administratie PCL6") = 0
EndIf
EndIf

Case $Gateway="10.113.0.1"

If InGroup("Pri-NL-Automatisering")
If AddPrinterConnection ("\\amssrv050\HP4000TN Administratie RAYE PS") = 0
EndIf
EndIf

EndSelect

Grt.

Larve