Skip to content

Getting devices with active directory object_sid property #613

Answered by jshcodes
yoavhiz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @yoavhiz -

object_sid is not returned as part of the get_device_details operation (Hosts service collection).

If we absolutely must retrieve this value from the machine directly, we will have to try something leveraging RTR. (The SID value is stored in a protected key within the registry of the machine. (HKLM\SECURITY\SAM\Domains\Account)) There are several scripts online discussing this. You should be able to execute your preferred one of these as a CloudFile via RTR.

As an alternative, If you have Windows Remote Server Administration tools (RSAT) installed, you could retrieve this detail directly from PowerShell on your local machine using:

Get-ADComputer -Filter name -eq ‘edlt' -P…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yoavhiz
Comment options

@jshcodes
Comment options

@yoavhiz
Comment options

Answer selected by yoavhiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
API usage General API usage issues and questions hosts Hosts or Host Groups issues and questions
2 participants