I've tried both ways (string and numeric) but no result

still :
code:
Script error: expected expression!
$sid.SetAs($ADS_SID_WINNT_PATH, "WinNT://GISPEN/$strAlias,user")

And i can't find, not in the SDK or on msdn/technet what SetAs() wants.
_________________________
regards, Martijn