PS-NCentral icon indicating copy to clipboard operation
PS-NCentral copied to clipboard

Get-NCCustomerPropertyList - Unable to Handle Commas

Open valinortech opened this issue 3 years ago • 1 comments

It seems that when commas are in a custom property name, the results are not returned properly for the Get-NCCustomerPropertyList method. For example, a custom property named "Devices - Servers, Workstations" is divided into the two properties when returned: "Devices - Servers" and " Workstations". My assumption is the comma is unescaped or there is some unintended variable expansion. Let me know if you need more details to isolate the problem (on version 1.5).

valinortech avatar Oct 24 '22 23:10 valinortech

This is kind of on-purpose, so you can add an array of multiple values to a property. See the NCCustomerPropertyValue and NCDevicePropertyValue commands.

ToschAutomatisering avatar Nov 18 '22 13:11 ToschAutomatisering