PowerShell Logo Small

Get-GPResultantSetOfPolicy



This is the built-in help made by Microsoft for the command 'Get-GPResultantSetOfPolicy', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Outputs the Resultant Set of Policy (RSoP) information for a user, a computer, or both to a file.

SYNTAX


Get-GPResultantSetOfPolicy [-Computer <String>] [-User <String>] -Path <String> -ReportType <ReportType> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-GPResultantSetofPolicy cmdlet outputs the Resultant Set of Policy (RSoP) information for a user, a computer, or both to a file.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?linkid=287720

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>get-gpresultantsetofpolicy -reporttype xml -path c:\reports\LocalUserAndComputerReport.xml

RsopMode : Logging
Namespace : \\COMPUTER-02-PC\Root\Rsop\NS2BBE3F29_794F_4EAE_B9DB_0A2310622534
LoggingComputer : COMPUTER-02
LoggingUser : CONTOSO\someuser
LoggingMode : UserAndComputer



Description

-----------

This command generates a report for the user (CONTOSO\someuser) that is running the session and the computer (COMPUTER-02) on which the session is running. The report is
generated in XML format, and is written to the specified file.




-------------------------- EXAMPLE 2 --------------------------

C:\PS>Get-GPResultantSetOfPolicy -reporttype xml -computer computer-08.contso.com -path c:\reports\computer-08.xml

RsopMode : Logging
Namespace : \\computer-08.contoso.com\Root\Rsop\NS643B2E66_8F54_4407_A813_7D47173B0922
LoggingComputer : computer-08.contoso.com
LoggingUser : CONTOSO\Administrator
LoggingMode : Computer



Description

-----------

This command generates a report for the specified computer. The computer is specified by its fully qualified domain name (FQDN), computer-08.contoso.com. The report is
generated in XML format, and is written to the specified file.




-------------------------- EXAMPLE 3 --------------------------

C:\PS>Get-GPResultantSetofPolicy -user contoso\someuser -reporttype html -path c:\reports\UserReport.html

RsopMode : Logging
Namespace : \\COMPUTER-02\Root\Rsop\NS78355E76_C754_41B5_8F5E_B61551837A62
LoggingComputer : COMPUTER-02
LoggingUser : contoso\someuser
LoggingMode : User



Description

-----------

This command generates a report for the specified user (contoso\someuser) in HTML format and saves it to the specified file.




-------------------------- EXAMPLE 4 --------------------------

C:\PS>Get-GPResultantSetOfPolicy -user someuser -computer contoso.com\computer-08 -reporttype html -path c:\reports\UserAndComputerReport.html

RsopMode : Logging
Namespace : \\computer-08\Root\Rsop\NS72116C25_6570_4586_9B79_FC4F71372E57
LoggingComputer : contoso.com\computer-08
LoggingUser : someuser
LoggingMode : UserAndComputer



Description

-----------

This command generates a report for the specified computer (contoso.com\computer-08) and user (someuser) in HTML format and saves it to the specified file.