Answer by Ben N for Check if wildcard covers given path in powershell
The -like operator is probably what you're after. It doesn't do any regex comparison, and it works with * and ? exactly as you expect. It's case insensitive.Unfortunately, it does have a couple extra...
View ArticleCheck if wildcard covers given path in powershell
I'm trying to figure out how to test in PowerShell if a wildcard in command-line notation would be triggered for a given path. To be clear I have something like this:For ($exception in $Exceptions) {...
View Article
More Pages to Explore .....