 mudcow007 World Chat Champion

Joined: 01 Feb 2012 Karma :   
|
|
 panrider_uk World Chat Champion

Joined: 23 Sep 2007 Karma :  
|
|
 P. Red Rocket
Joined: 14 Feb 2008 Karma :   
|
 Posted: 19:57 - 20 Aug 2016 Post subject: |
 |
|
Does it state it anywhere in rsop?
Or run this is PS on the machine affected. Should determine what OU it thinks its in.
| Code: | $DirectorySearcher = New-Object System.DirectoryServices.DirectorySearcher
$DirectorySearcher.Filter = $Filter
$SearcherPath = $DirectorySearcher.FindOne()
$DistinguishedName = $SearcherPath.GetDirectoryEntry().DistinguishedName
$OUName = ($DistinguishedName.Split(","))[1]
$OUMainName = $OUName.SubString($OUName.IndexOf("=")+1) |
|
|
 mudcow007 World Chat Champion

Joined: 01 Feb 2012 Karma :   
|
|