Convert-m365DscHashtableToString formatting - fixes #2980 #3059
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) description
Proposed fix for #2980. The fix itself is purely an amendment to the output string for the function to use a carriage return and newline instead of a semicolon as the separator.
This would apply to all configurations which use the function (which is most of them) I don't think there are any using it for anything other than verbose output but, if we wished to be more cautious, I could keep the default output and add in a switch for the newline output. If I did that any uses of the function would need to manually changed to use the switch.
The only other change is an amendment to IntuneAppProtectionPolicyAndroid which was already amending these values after the function had returned the string.
This Pull Request (PR) fixes the following issues
Fixes #2980