I'm trying to get a user's "site" from active directory using the site property of the 'Windows Script Host Object Model'.WshNetwork automation.
But I get a generic error instead.
(HRESULT) -2147355267
Speculating:
This is as if the function hadn't been implemented, or if my user doesn't have a site. Either way it's not working. I
'm trying to get a user's Location by checking their active directory site.
EDIT:
RTC provides a more descriptive error:
HRESULT: 0x80004001 (E_NOTIMPL)
0