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*'}
aduser filter single qoute with wildcard.
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.
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.
- dan.potter
- Posts: 709
- Last visit: Wed Nov 14, 2018 11:39 am
- dan.potter
- Posts: 709
- Last visit: Wed Nov 14, 2018 11:39 am