There are many rich functions in PowerShell. It's easy for administrators to find the information which they need. For an example, I need to find something in the following collection.
How can I search something in it?
We can add () and -match to the PowerShell like this.
Assuming that one of users is a member of many AD groups. I can add () and -match to search it from the memberof collection.
Eventually, I got the result what I need.
This posting is provided “AS IS” with no warranties, and confers no rights!
No comments:
Post a Comment