This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Oct 20, 2017, 9:43 AM
17 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, 7: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.  

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal