Gpo.GenerateReportToFile Method (ReportType, String)


Generates a report for a Group Policy object (GPO) and saves it to a specified file.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)


public void GenerateReportToFile(
    ReportType reportType,
    string filePath
void GenerateReportToFile(
    ReportType reportType,
    String^ filePath
member GenerateReportToFile : 
        reportType:ReportType *
        filePath:string -> unit
Public Sub GenerateReportToFile (
    reportType As ReportType,
    filePath As String


  • filePath
    Type: System.String

    The path of the file to which the report is saved.

See Also

GenerateReportToFile Overload
Gpo Class
Microsoft.GroupPolicy Namespace

Return to top