Delen via


New-MDIConfigurationReport

Generates a report of MDI domain configuration and saves it as an HTML and a detailed JSON file.

Syntax

New-MDIConfigurationReport
   [-Path] <String>
   [-Mode <String>]
   [-GpoNamePrefix <String>]
   [-OpenHtmlReport]
   [<CommonParameters>]

Description

Generates a report of MDI domain configuration and saves it as HTML file and detailed JSON files. The report validates the domain SACLs and the presence of the MDI related configuration GPOs. The HTML report includes a table with the status for each configuration and a link to the detailed JSON data.

Examples

EXAMPLE 1

New-MDIConfigurationReport -Path "C:\Reports" -OpenHtmlReport

This example generates a report of MDI domain configuration, saves it as HTML and JSON files in the C:\Reports directory, and opens the HTML report after in your default browser.

Parameters

-GpoNamePrefix

Specifies a prefix for the Group Policy Objects (GPO) names to be searched. Use this parameter for GPO naming convention.

Type:System.String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Mode

Specifies the mode to use. You must specify one of the following values:

  • Domain: Collect settings from the Group Policy objects
  • LocalMachine: Collect settings from the local machine
Type:System.String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OpenHtmlReport

If specified, opens the HTML report after it's generated.

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Path

Specifies the directory where to save the HTML and JSON report files.

Type:System.String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False