Can someone please help me with the following
I am trying to do something very similar to this post
Powershell: How do you set the Read/Write Service Principal Name AD Permissions?
Basically I do not need to set/change rights but rather read rights
On a Computer object in AD (Active Directory) you 'Allow' a User, Group or Computer object (either the same computer or another computer object) the 'Write' right to the following property/attribute of the computer object
Validated write to service principal name and write service principal name
So lets say on Computer object Server01 the user Domain\Fred is 'Allowed' to "Validated write to service principal name" and also 'Allowed' the "write service principal name"
And Paul, John and Susan all have the same rights as Fred
now lets say I have 500 computers in the AD Domain with a combination of the above rights
I want to get the computer objects (I know how to do this with PowerShell or ADSI, .NET)
then I want to list out who has the above rights to these computer objects (and that is the bit I am stuck on) how to list out the rights (rather the checking each user, group and computer one at a time to see if they have the these rights or not) to see who can set these SPN related values for the computers in my domain.
Thanks very much in advance __AAnotheruser