Quantcast
Channel: Check if wildcard covers given path in powershell - Super User
Browsing all 2 articles
Browse latest View live

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 Article



Check 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
Browsing all 2 articles
Browse latest View live




Latest Images