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 objectsLocalMachine
: 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 |
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기