0

I want to get all the users from OU "myusers" so I have this cmdlet right here:

get-aduser -filter * -searchbase"ou=myusers,dc=domain,dc=com"

But when Im running it, powershell prints a >> sign.. Im new to ps, but I think it means its waiting for more input..

Why does it happen? what parameters could I add to the search?

Npv23g
  • 320
  • 4
  • 6
  • 12

1 Answers1

1

Maybe you mistyped the command, and waiting for a closing "

Try this:

get-aduser -filter * -searchbase "ou=myusers,dc=domain,dc=com"

humat72
  • 26
  • 1