Professional Documents
Culture Documents
GPResult - Windows CMD - SS64
GPResult - Windows CMD - SS64
GPRESULT.exe
DisplayResultantSetofPolicyinformationforaremoteuserandcomputer.
Syntax
gpresult[/sComputer[/u[Domain\]UserName[/p[Password]]]]
[/user[TargetDomain\]TargetUser][/scope{user|computer}]
[/r|/v|/z][[/x|/h]FileName[/f]]
Key:
/sThenameorIPaddressofaremotecomputer.Donotusebackslashes.
(default=thelocalcomputer)
/u[\]Runthecommandwiththecredentialsofthespecifieduser.
(default=thecurrentlyloggedonuser)
/p[]Thepasswordoftheuseraccountthatisprovidedinthe/uparameter.
If/pisomitted,gpresultpromptsforthepassword.
/user[\]TheremoteuserwhoseRSoPdataistobedisplayed.
/scope{user|computer}
DisplaysRSoPdataforeithertheuserorthecomputer.
If/scopeisomitted,gpresultdisplaysRSoPdataforboththeuserandthecomputer.
[/x|/h]SavethereportineitherXML(/x)orHTML(/h)formatatthelocationand
withthefilenamespecifiedbytheFileNameparameter.
Cannotbeusedwith/u,/p,/r,/v,or/z.
/fForcegpresulttooverwritethefilenamespecifiedinthe/xor/hoption.
/rDisplayRSoPsummarydata.
/vDisplayverbosepolicyinformation,includingadditionaldetailedsettingsthat
havebeenappliedwithaprecedenceof1.
/zDisplayallavailableinformationaboutGroupPolicy,includingdetailedsettings
thathavebeenappliedwithaprecedenceof1andhigher.
/?Displayhelp
The/fand/roptionswereintroducedinWindowsVista/7/2008
Examples
C:\>gpresult/z>C:\batch\policy.txt
C:\>gpresult/usertargetusername/scopecomputer/r
C:\>gpresult/ssrvmain/uss64dom\hiropln/pp@ssW23/usertargetusername/scopeuser
C:\>gpresult/ssrvmain/uss64dom\hiropln/pp@ssW23/usertargetusername/z>policy.txt
C:\>gpresult/ssrvmain/uss64dom\hiropln/pp@ssW23
Thedierencebetweenfalsememoriesandtrueonesisthesameasforjewels:itisalwaysthefalseonesthatlookthemostreal,themost
brilliant~SalvadorDal
Related:
GPUPDATEUpdateGroupPolicysettings
NTRIGHTSEdituseraccountrights
CopyrightSS64.com19992017
Somerightsreserved