Why do you want that?

Does the notebooks make a RAS connection or not.

If so you can use the following:
IF @RAS=yes

Or you can seperate them by computername

for example.
Start the Computername of a notebook with NB and the name of a computer with PC.

We are using the computername in order to seperate them.