The Resume tab displays a summary of the number of all elements in the park.
It is possible to search on all tabs.
Members of privileged groups are not displayed, similarly in the user tab, administrators are not listed by default.
Below are the categories of the different reports generated:
Groups, Users, Computers, Print Servers, GPOs and OUs.
It is possible to add authentication by hosting the report on an IIS Web server (JIT principle)
Important note: the report is read only, no risk of modification on the directory.
The information presented complies with the JEA (Just Enough Administration) principle.
You can control which information is displayed for all objects.
Reminder: sensitive information such as privileged members and DCs are not displayed by default.
The filters allow you to make quick and interactive searches, the result is immediate.
It is possible to export the result in several formats (PDF, Excel, CSV ...).
It is very easy to create custom filters by clicking on the 'Search Builder' button.
Example:
You can list the members of a specific OU by indicating its name with the "Contains" condition, or by selecting only its name in the displayed list with the "Equals" condition
Important: It is recommended to use the "Equals" condition only for boolean values, e.g. a parameter with the expected result "True" or "False".
To delete a condition, simply press the corresponding "X" button.
You can easily build complex queries with logical "And" "OR" functions, with the possibility to use X times the same parameter under different conditions, thanks to the power of PSWriteHTML Module.
To function Modern AD needs the following PowerShell modules:
The admin right is not required.
The module is available via the Powershell Gallery and on Github: Link.
The following command allows to download and install the module for all users. To be executed in a console in admin mode.
Install-Module modernActiveDirectory |
The following command installs only on the connected profile without requiring administrative rights.
Install-module ModernActiveDirectory -Scope CurrentUser
Once installed, run the following command to generate your report.
Get-ADModernReport
In case of error you will be notified.
Note: displaying the contents of the AD Trash and PSO password policies requires rights to these containers (e.g. running the script with a domain admin or assigning the necessary rights to the user).
When finished, an HTML file will be created, and the web page will be launched automatically in your default browser.
Note: By default the report is generated in the Temp folder of the user "Appdata\Local\Temp", you can change the path at any time.
If your machine does not have internet access, download the Zip from Github and unzip it in your "Modules" folder which is located in the "Programs Files" or "Documents" path.
By default, the number of searches is limited to 200 objects per category for testing purposes.
To perform an unlimited search for objects, use the following command:
Get-ADModernReport -illimitedsearch
The command below allows you to generate a single report in HTML format in the folder of your choice.
Get-ADModernReport -illimitedsearch -SavePath "C: \Myfolder" -htmloneline
Below is a list of parameters you can use with the Get-ADModernReport function
- CompanyLogo: Logo that will be in the upper left corner of the report
For more details, please consult the Help.
Get-Help Get-ADModernReport -Detailed
One of the advantages of this module is that it can be executed several times a day in a scheduled task, automatically overwriting old values if necessary. Then, it will be interesting to host the web page on an IIS server to connect to several, remotely.
Create a PS1 file and put the following code, point the output to the IIS folder if different from the default.
Import-Module ModernActiveDirectory -Force
Get-ADModerReport -IllimitedSearch -SavePath C:\inetpub\wwwroot
We would like to thank all the people who have contributed directly or indirectly to the realization of this project.
The Essential Blogs :
IT-Connect | Tutorials - Computer Courses - Tests - Videos
And all members :
DEMAN-BARCELO (MVP) Thierry | Experts Exchange (experts-exchange.com)
Przemysław Kłys (microsoft.com)
Florian, Mehdi, - Guylain, mathieu, hatira, ...Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (2)
Commented:
Commented: