Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-NCCustomerPropertyList - Unable to Handle Commas #11

Open
ngiunta91 opened this issue Oct 24, 2022 · 1 comment
Open

Get-NCCustomerPropertyList - Unable to Handle Commas #11

ngiunta91 opened this issue Oct 24, 2022 · 1 comment

Comments

@ngiunta91
Copy link

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).

@ToschAutomatisering
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants