Oct 20, 2017 5:43 AM
16 Posts

How to determine the clients OS type using function @GetMachineInfo?

  • Category: Administration
  • Platform: All Platforms
  • Release: 9.0.1
  • Role: Administrator
  • Tags: Policies,Smart Upgrade
  • Replies: 1

Hello

We want to deploy Notes fixes depending on the clients type of OS (Windows, Mac, Linux). Some users have multiple machines with different OS types.

How can we use a machine specific formula in the policy settings for Smart Upgrade?

This technote http://www-01.ibm.com/support/docview.wss?uid=swg21501673 says " Some possible attributes may include; version and type of OS ...." but don't give an example of how to obtain it.

 

Thank you for any help!

Patrice

 

Oct 23, 2017 3:13 AM
23 Posts
possibly getting system variable
@GetMachineInfo allows you to get OS System variables using the keyword : SysEnvVariable

You can use this to see if the system is Windows.  I tried doing below on my Windows 7 machine:

@Prompt([Ok];@GetMachineInfo([SysEnvVariable];"OS");"title")

got the result as "Windows_NT".  Not sure what environment variable should be checked on the Mac system, but you can possibly experiment.