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)
Syntax
public void GenerateReportToFile(
ReportType reportType,
string filePath
)
public:
void GenerateReportToFile(
ReportType reportType,
String^ filePath
)
member GenerateReportToFile :
reportType:ReportType *
filePath:string -> unit
Public Sub GenerateReportToFile (
reportType As ReportType,
filePath As String
)
Parameters
reportType
Type: Microsoft.GroupPolicy.ReportTypeOne of the ReportType values that specifies the type of report.
filePath
Type: System.StringThe path of the file to which the report is saved.
See Also
GenerateReportToFile Overload
Gpo Class
Microsoft.GroupPolicy Namespace
Return to top