I'm on a Windows 2016 server and I'm trying to get the RSOP from a Windows 2008 remote computer using the command GPRESULT. However when I use the command:
gpresult /S 10.0.52.234 /U Administrator /P !2Pwz%3<.2$ /SCOPE COMPUTER /X output.xml
I receive this error:
ERROR: Invalid Syntax. Options /U, /P, /R, /V, /Z cannot be specified along with /X, /H.
Is there a way to connect to a remote computer (using /u and /p) and output the RSOP in xml or html. (maybe import the policies into the destination server then use GPResult on the destination server so it would not require /u and /p)