Get-ADGroup Help

I would like to get group membership from certain groups run against User OU. Is it possible to set the group and User OU mandatory so it prompts the user for which groups they want and which User OU to search membership against?

You can’t modify the actual Get-ADGroup cmdlet to make parameters mandatory if they’re not mandatory already, but what you can do is write a function which has the parameter behavior you want, and call Get-ADGroup from within that function.