VBScript to retrieve error information from group policies applied to remote computers
Posted on 2011-03-17
I have a script that contacts remote computers and queries the applied group policies.
The problem I am having is, I don't know which attribute to check to see if the policy was applied successfully.
If you run RSOP.msc
right-click either computer or user and go to properties
Then go to the error information tab, I need that status column.
I am using the RSOP_GPO object. ("Select * from RSOP_GPO")
I can get the GP name (objItem.Name) but having problems getting the status info.
I appreciate the assistance.