Nested groupmembership… yes, again…

Another revision of my function for querying Active Directory nested groupmembership.
While fooling around with parameter sets was interesting, it isn’t exactly the best way to deal with unknown input.
Again, with the help of Google I found out more about how to deal with user input and found out that PowerShell has a much easier way to deal with input than I thought.
And as such another version of my function emerged. It’s smaller and doesn’t care that much what kind of input you feed it. If it can use it, it will. If it can’t, well… then it won’t.

 

 

Tagged , . Bookmark the permalink.

Comments are closed.