STAF provides a system variable named STAF/Config/OS/Name that provides
the operating system name. You could simply resolve that STAF variable
using the STAF VAR service. For example:
C:\>STAF targetMachine VAR RESOLVE STRING {STAF/Config/OS/Name}
Response
Linux
If you really wanted
Have you tried the VAR service?
VAR RESOLVE STRING {STAF/Config/OS/Name}
--
Regards,
Mike Tran
From:
yakov vilenchik
To:
staf-users@lists.sourceforge.net
Date:
10/29/2009 04:06 PM
Subject:
[staf-users] Ho to receive
Hi All.
I want to get target machine OS type by running following perl/s