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

Documentation feature does not replace illegal character in Configuration name #19

Closed
SasStu opened this issue Jul 6, 2021 · 2 comments

Comments

@SasStu
Copy link

SasStu commented Jul 6, 2021

I just tried to document several configuration profiles which contain a "/" in the configuration name. The documentation feature is unable to save the CSV files probably caused by the illegal character for a Windows filesystem.

image

Maybe you could add to row 3677 in Extensions/Documentation.psm1 something like this:

$itemsToExport | Out-File ($folder + "$($objName.Split([IO.Path]::GetInvalidFileNameChars()) -join '_'
).csv") -Encoding UTF8 -Force

Thanks for the great tool btw!!!

@Micke-K
Copy link
Owner

Micke-K commented Jul 7, 2021

Thank you for the bug report!

I uploaded a new version. Please test it at let me know how it goes.

There were a few other places with the same issue + I fixed a few other bugs. Have a look at the ReleaseNotes for more info.

Thank you!

@SasStu
Copy link
Author

SasStu commented Jul 7, 2021

It works, great thanks for the quick fix!

@SasStu SasStu closed this as completed Jul 7, 2021
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