|
Post by hasanordek on May 9, 2019 8:19:41 GMT
Hi everybody, We use UI++ version 2.11.1.2. I use this to read the value of the AssetTag from WMI and finally to write it to the OSDComputerName TS variable. Initially this goes well, but when I add an Info action to my XML script, it shows the value MINWINPC. Which is not the value of the AssetTag. When I disable the action that executes UI++ and use Powershell to read from WMI and write to the OSDComputerName variable, it goes well. But I want to use UI++ for it's menu's. Could anybody help me? Yours truly, Hasan Attachments:BWP.xml (733 B)
|
|
|
Post by Jason on May 21, 2019 21:52:16 GMT
Don't use ComputerName as a variable as that's also an environment variable and thus the action actually sets OSDComputerName to the value of the environment variable and not the value of the TS variable that you set in the previous action.
|
|
|
Post by hasanordek on Jun 14, 2019 9:17:33 GMT
That helped. Thank you!!!
|
|
|
Post by unkown1 on May 31, 2022 14:00:02 GMT
how to get computer name based country code, suffix (D desktop, Laptop (L), VM (VM)) , serial number USD123GHTRRETU
|
|
|
Post by unkown1 on Jul 26, 2022 4:37:48 GMT
Hi Jason how to get computer name based country code, suffix (D desktop, Laptop (L), VM (VM)) , serial number USD123GHTRRETU
|
|