Powershell - Introduction to the Windows As Built Report module
To support me, you can subscribe to the channel, share and like the videos, disable your ad blocker or make a donation. Thank you!
Hello,
Windows As Built Report is a PowerShell module that works in conjunction with AsBuiltReport.Core on the same principle as Microsoft AD As Built. AsBuiltReport is an open community project that uses PowerShell to produce documentation in multiple document formats for multiple vendors and technologies. The module generates a report on a Windows server:
- System information (Drivers, network, updates, roles and functionalities, applications…)
- DNS
- DHCP
- IIS
# Documentation https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.AD
# Prerequisites
- Windows PowerShell 5.1 or PowerShell 7
- Module AsBuiltReport.Microsoft.AD
- PScriboCharts module
- ActiveDirectory module - ADCSAdministration module
- PSPKI Module - GroupPolicy Module - DhcpServer Module - DnsServer Module
#Installing on a serverInstall-Module AsBuiltReport.Microsoft.Windows
# DNS/DHCP Server powershell modulesInstall-WindowsFeature -Name RSAT-DNS-ServerInstall-WindowsFeature -Name RSAT-DHCP
# Hyper-V Server powershell modulesInstall-WindowsFeature -Name Hyper-V-PowerShell
# IIS Server powershell modulesInstall-WindowsFeature -Name web-mgmt-consoleInstall-WindowsFeature -Name Web-Scripting-Tools
# The configuration uses a JSON file# Creation of the default JSON fileTargetServer = 'srv1.domain.tld$Report = 'C:\temp\report'if (!( test-path $Rapport )) { new-item 'C:\temp\rapport' -ItemType Directory }New-AsBuiltReportConfig -Report Microsoft.Windows -FolderPath 'C:\temp\rapport'
# Generate a report for a DC with an export in text, HTML and Word with timestamp in the file nameNew-AsBuiltReport -Report Microsoft.Windows -Target $TargetServer -Format Text,Html,Word -OutputFolderPath $Report -Timestamp
# Generate a report for a DC with HTML and Word export using a configuration fileNew-AsBuiltReport -Report Microsoft.Windows -Target $TargetServer -Format Text,Html,Word -OutputFolderPath $Rapport -ReportConfigFilePath 'C:\Users\Jon\AsBuiltReport\AsBuiltReport.Microsoft.Windows.json' # Generate a report for a DC with HTML and Word export using the configuration file
# Generate a report for a DC with HTML and Word export, highlighting the problems in the report and using different identifiers$Creds = Get-CredentialNew-AsBuiltReport -Report Microsoft.Windows -Target $TargetServer -Format Text,Html,Word -OutputFolderPath $Report -Credential $Creds -EnableHealthCheck
Related links
Powershell - Hyper-V - Managing virtual machine configuration versions
How to update the configuration version of a virtual machine so that it can use the new features available on your new Hyper-VPowershell - Introduction to the Windows As Built Report module
Windows As Built Report is a PowerShell module that generates a report on a Windows server - System information (Drivers, network, updates, roles and functions, applications, etc.) - DNS - DHCP - IISSeveral ways to rename a computer in Windows
A video showing how to rename a computer in WindowsViewing other types of file containing simple text in Windows
It is possible to view other types of file containing simple text, such as .ps1, .psm1, .psd1, .twig, .gcode... in Windows File ExplorerHow to add and change languages in Windows 10 and Windows 11
How to add and change languages in Windows 10 and Windows 11Services and the services console on Windows
A video presenting services and the Windows services console (start-up mode, service properties and user services)
Follow me on
Support me
Last content
Powershell - Testing network connectivity and port accessibility
Powershell - Display network connections (equivalent to netstat)
Powershell - Testing name resolution (equivalent to nslookup)
Powershell - View and manage DNS configuration of network interfaces
Powershell - Managing IP configuration of network interfaces
Powershell - Managing the status and configuration of network interfaces
Powershell and the Left Hand Side
Powershell - Managing disks, partitions and volumes