I am trying to get Password Policy from domain joined computers. I know that running gpresult /H result.html will produce an html file where I can see this. However, my question is that
A- How can I just filtered the result so that I can only get the the password policy section , not whole HTML file. see the image below.
B- more importantly!!!!!!!!, :::::: I want to run this command on a list of computers, But without first logging to that remote computers, gpresult /H will not produce a result as There would not be no RSOP data yet on the computer for the gpresult pull the data
So, is there any way to logging to list of remote computers remotely using an script so that RSOP data first be created so that gpresult /H will work after.
Note :I know that I can check the GPO from domain using gpmc.msc etc etc, That is given for sure. But I need to see this on the servers themselves, that is my problem I am trying to solve. for some reason some server does not get these settings. so I am trying to see which servers are not actually on the server getting from the GPO. and this is about GPO inheritance etc etc OU stuff.