-
Notifications
You must be signed in to change notification settings - Fork 220
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
Comparison seems to wrap text file too much #281
Comments
Hello, Thank you for reporting this. Can you try these updates? You will now have the option to set delimiter for multi-value properties You also have the option to export compare result to a json file for further automation. Extract zip and replace existing files and restart the app. Let me know how it goes. Cheers! |
Hey |
Well, that is a bit embarrassing :) Try this one... Cheers! |
Thanks I can confirm the files in the extension are definitely different, but looking at the code, this is more around JSON than the actual csv output. |
It would also be great if we could chose the output file save location - i couldnt see that option in the code otherwise id have tried to add that |
This is what I got when I compared an Administrative Template policy via Bulk Compare. I used the pipe. Both the csv and json file reflects the selected Multi-property character. The Document.psm1 file is updated. Additional arguments were added to the Invoke-ObjectDocumentation that defines what character to use in multi-value properties. Not sure why that is not reflected in your output. Stupid question...did you restart it after you copied the psm1 files to the Extension folder? I'll see if I can add output file for both csv and json at some point. Cheers! |
Found it...I hope. The Compare did some part of the CSV with a new line. I replaced them it now works for me with Compliance policies. Let me know how it goes. Cheers! |
Hello, I had a quick look. There's something wrong in how that specific setting is being documented. This causes a new line in the output somehow. I'll try to gave a look at this on the weekend. Cheers! |
Hello, That normally happens when there are policies missing in either source or the destination of the compare. Try excluding missing policies and see if they disappear. Cheers! |
Those policies are already compared. |
Hello, Issue 1: Should be fixed with the Document.psm1 in the attached file. Microsoft actually had two new lines in the setting name. Weird! I trimmed these out from the string. Issue 2: Bug in the 'Intune Objects with Exported Files (Name)' provider. It added files even if they were compared previously with an Intune policy. Cheers! |
Yes that's fixed it You also have to export - edit the code, then reimport, to get rid of the /n in the description, once its there no editing (delete etc) will get rid of it. |
Hello, Try this. It will trim new line from the description string, Both '\r\n" and "\n". However, I would expect there to be descriptions with intended multiline. This would not fix them. Cheers! |
Hey will feedback shortly, if not in the new year after the holidays |
Hi
I am doing a comparison to try and see what our systems are vs the baselines.
When i do the comparison as one item, it shows up fine, in the Visual output , but i need to do a bulk compare.
This shows the data split across multiple lines which makes is pretty much impossible to read.
It almost like its adding line breaks, where there is no line breaks, this appears in the csv file and makes it difficult to read when viewed in excel, as i have 10 rows of items like "apps" where they should be all compared in one row.
Im using intune objects with exported files (name) -- but to be honest this appears in all comparisons.
Whether i do comparison type as property or documentation it doesnt matter either.
is it replacing quotes with line breaks?
Here is a screenshot of the issue in the CSV files.
The text was updated successfully, but these errors were encountered: