Link to home
Start Free TrialLog in
Avatar of Fr. Vandecan
Fr. VandecanFlag for Belgium

asked on

Searching for Ad group based on pattern

Searching for Ad group based on pattern
Dear,
I would like to use regex] to be able to search this
$strRegion = "Provence"
@(Get-ADGroup -Filter { name -like "$strRegion-??-full" } -Properties Description | Select Name,Description)


where ?? is a string of 2 char a-z.


who can help me to build this "easy" query ?
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial