none
A parameter cannot be found that matches parameter name 'Searchbase'

    Question

  • I am trying to return a list of members in a certain ou that belong to an active
    directory group. I am getting the error that:

    A parameter cannot be found that matches parameter name 'Searchbase'

    Import-Module ActiveDirectory
    
    
    Get-ADGroupMember "Test" | -Searchbase "OU=US,DC=domain,DC=net"  | Format-Table Name
    

    Wednesday, October 30, 2013 3:18 PM

Answers

All replies