Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

GetComputerSite()'s server list is empty...

$
0
0

Hey folks -- So I'm working in an Active Directory environment that is healthy.

I've run: 

[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetComputerSite()

And expected the servers configured for my current site ("Site A") to be populated in the returning object's Servers property. However, the property returns empty.

If I run "Get-ADDomainController" for a server that I would expect to be in that list, I see that it is in the correct site. Has anyone run into a situation like this?

Oh - also - all of the other properties for that first command are as expected.

Thanks


G. Samuel Hays, MCT, MCSE 2012, MCITP: Enterprise Admin

Blog:gsamuelhays.blogspot.com

twitter:twitter.com/gsamuelhays


Viewing all articles
Browse latest Browse all 21975


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>