#1 25 Jan 2019 18:02

BIGnotor
Member
Registered: 25 Jan 2019
Posts: 4

Search computers

Hi, I want to list some computers in my OU but I can't..

I show you the problem :

In my Active Directory, there is a OU=Computers,OU=Computer_Test,DC=Company,DC=local.

But when I tri this command :

dsquery computer ou=Computers,ou=Computer_Test,dc=porsolt,dc=local

dsquery error: object not found..

Can you help me please,

Have a good day

BIGnotor
(I'm French, so sorry for spelling mistakes)  smile

Offline

#2 28 Jan 2019 10:21

BIGnotor
Member
Registered: 25 Jan 2019
Posts: 4

Re: Search computers

Hi everybody, I found the solution,

In the active directory, the display of unit organisation is like this -> ou=Computers,ou=Computer_Test
But in CMD, we have to invert the 2 UO,

ou=Computer_Test, ou=Computers
Best regards

Offline

Board footer

Powered by FluxBB