aduser filter single qoute with wildcard.

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 7 years and 1 month 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
dan.potter
Posts: 709
Last visit: Wed Nov 14, 2018 11:39 am

aduser filter single qoute with wildcard.

Post by dan.potter »

Has this always worked or did something changed? I could have sworn 'potter*' was interpreted literally in previous versions.

get-aduser -filter {name -like 'potter*'}
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: aduser filter single qoute with wildcard.

Post by jvierra »

Works for me.
User avatar
dan.potter
Posts: 709
Last visit: Wed Nov 14, 2018 11:39 am

Re: aduser filter single qoute with wildcard.

Post by dan.potter »

msdn has doubles, news to me :-)
This topic is 7 years and 1 month 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