PowerShell to list of UPNs based on specific Wildcard search?

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 4 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
ITEngineer
Posts: 216
Last visit: Thu Mar 23, 2023 5:45 pm
Has voted: 4 times

Re: PowerShell to list of UPNs based on specific Wildcard search?

Post by ITEngineer »

jvierra wrote: Sun Oct 27, 2019 3:46 pm You cannot use match to search a collection. Use +-in+ or "-contains".
You cannot use a wildcard in a match.
Start here:
help about_regular_expressions
and
https://www.regular-expressions.info/
Yes, I will adjust it accordingly.

Thank you Mr. Vierra.
/* IT Engineer */
This topic is 4 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked