OS Script issue with the new Version 6.6.2

Hello

Here's the scritpt for the information of OS, plus version his 'name' and 'osDisplayName' then '\n '. It goes to the next line.

In the new version, he won't go to the next line, no change was asked after the upgrade or there is another syntax for the next line.

Please let me know

Thank you

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

VM = #! VMWVirtualMachine where osDisplayName like ' %x%'#.getTopologyObjects()

result = 'name, OS name\n '.

VMS.each () {vm->

result += vm.name + ',' + vm.osDisplayName + '\n '.

}

Returns the result

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

It is in fact a minor bug in the definition of the results of the Script Console window.

Your output of the script contains newlines "\n", but ignores the converter configured to the output of the script.

I think that this display bug will be fixed in the next version.

If you run the script from the command line using fglcmd, you can see the line breaks in the output.

If you want to work around the problem in the Script Console, you can use the WCF definition editor to change 'Management Server/Commons/result Label' to use the rendering engine: "Management Server/Commons/Text Renderer: support the line breaks.

Kind regards

Brian Wheeldon

Tags: Dell Tech

Similar Questions

Maybe you are looking for