OU detection
Is there a command on Vista/W7 to check what OU a computer is in? I've seen one for servers and scripts and programming for it... I'm looking for a computer.
Comments
-
AlexNguyen Member Posts: 358 ■■■■□□□□□□dsquery computer -name <my_computer_name>Knowledge has no value if it is not shared.
Knowledge can cure ignorance, but intelligence cannot cure stupidity. -
Zartanasaurus Member Posts: 2,008 ■■■■■■■■■□In Powershell (since you want to do scripting).
get-adcomputer -identity computername | select DistinguishedNameCurrently reading:
IPSec VPN Design 44%
Mastering VMWare vSphere 5 42.8% -
SephStorm Member Posts: 1,731 ■■■■■■■□□□lol, no scripting! I know nothing about this scripting of which you people speak.
i'll try dsquery tommorow. -
AlexNguyen Member Posts: 358 ■■■■□□□□□□i'll try dsquery tommorow.
Download: Remote Server Administration Tools for Windows 7 with SP1 - Microsoft Download Center - Download Details
Download: Microsoft Remote Server Administration Tools for Windows Vista - Microsoft Download Center - Download DetailsKnowledge has no value if it is not shared.
Knowledge can cure ignorance, but intelligence cannot cure stupidity.