Closed jangrundmann closed 1 year ago
No specific reason really :) I will push a change to beta soon where it uses regex instead so it will work as you describe it above, also it will be case insensitive
try it out in the beta: pip install IntuneCD==2.0.4b1
I see the code is checking for a space character following defined prefix in the object's name. I'd say it's more versatile if it wouldn't do that. Do you have any specific reason why is it like that? If it wouldn't check I could still explicitly tell I need to search for prefix being delimited by a space by specifying it.
Current behavior:
--prefix Win
"Win_policy1" - won't match "Win policy1" - will matchSuggested behavior:
--prefix Win
"Win_policy1" - will match "Win policy1" - will match--prefix "Win "
"Win_policy1" - won't match "Win policy1" - will match