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

How can I deal with GPOs that have slashes in the name? #12

Open
born-slippy opened this issue Aug 1, 2024 · 1 comment
Open

How can I deal with GPOs that have slashes in the name? #12

born-slippy opened this issue Aug 1, 2024 · 1 comment

Comments

@born-slippy
Copy link

born-slippy commented Aug 1, 2024

I started by doing a pull request having made a change to convert slashes (/ or \) to underscores as it causes Rename-Item to fail, but then realised that this would cause the restore script to break, so I closed it out and deleted my branch. Wondering if you have idea on how there might be a good way to deal with this or should we simply avoid slashes in GPO names?

Thanks!

@furicle
Copy link

furicle commented Aug 6, 2024

Maybe instead of renaming them, leave the files as ids, and just create pretty links using the names. Then you could sanitize the link names without changing the actual names, and they'll restore ok?

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