Skip to content

Commit

Permalink
Merge pull request #186 from AsBuiltReport/dev
Browse files Browse the repository at this point in the history
v0.9.0 public release
  • Loading branch information
rebelinux authored Oct 13, 2024
2 parents ec70f9a + 30557d2 commit 3381050
Show file tree
Hide file tree
Showing 15 changed files with 152 additions and 76 deletions.
18 changes: 11 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
assignees:
- rebelinux
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report :)
- Kindly **DO NOT** ask for instructions.
- Use [Discussions](https://github.com/orgs/AsBuiltReport/discussions) section if you have a query or doubts or any other relevant question.
- You may join [Slack community](https://the-code-community.slack.com#asbuiltreport) to interact with fellow contributors and users
- Read project's [Web Site](https://www.asbuiltreport.com/user-guide/installation/) for detailed documentation.
- Read project's [FAQs](https://www.asbuiltreport.com/support/faq/) section for Frequently asked questions.
- Search for previous [Issues](https://github.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/issues)/[Pull Requests](https://github.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/pulls) if this issue is already reported or fix has been created.
- type: textarea
id: bug-description
attributes:
Expand Down Expand Up @@ -89,10 +100,3 @@ body:
- label: >-
I have read and followed the [bug reporting guidelines](https://www.asbuiltreport.com/about/contributing/#reporting-issues-and-bugs).
required: true
- label: >-
I have read [the documentation](https://www.asbuiltreport.com/user-guide/new-asbuiltconfig),
and referred to the [known issues](https://www.asbuiltreport.com/user-guide/known-issues/) before submitting this bug report.
required: true
- label: >-
I have checked for previously opened & closed [issues](https://github.com/AsBuiltReport/AsBuiltReport.Microsoft.AD/issues) before submitting this bug report.
required: true
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/change_request.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
name: Change Request
description: Request a new change or an improvement
title: "[Change Request]: "
labels: ["change request"]
assignees:
- rebelinux
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this enahancement form :)
- Kindly **DO NOT** ask for instructions.
- Use [Discussions](https://github.com/orgs/AsBuiltReport/discussions) section if you have a query or doubts or any other relevant question.
- You may join [Slack community](https://the-code-community.slack.com#asbuiltreport) to interact with fellow contributors and users
- Read project's [Web Site](https://www.asbuiltreport.com/user-guide/installation/) for detailed documentation.
- Read project's [FAQs](https://www.asbuiltreport.com/support/faq/) section for Frequently asked questions.
- Search for previous [Issues](https://github.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/issues)/[Pull Requests](https://github.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/pulls) if this issue is already reported or fix has been created.
- type: textarea
id: description
attributes:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions AsBuiltReport.Microsoft.AD.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'AsBuiltReport.Microsoft.AD.psm1'

# Version number of this module.
ModuleVersion = '0.8.2'
ModuleVersion = '0.9.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -58,19 +58,19 @@
},
@{
ModuleName = 'PSPKI';
ModuleVersion = '3.7.2'
ModuleVersion = '4.2.0'
},
@{
ModuleName = 'PScriboCharts';
ModuleVersion = '0.9.0'
},
@{
ModuleName = 'Diagrammer.Microsoft.AD';
ModuleVersion = '0.2.3'
ModuleVersion = '0.2.6'
},
@{
ModuleName = 'Diagrammer.Core';
ModuleVersion = '0.2.1'
ModuleVersion = '0.2.10'
}

)
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

##### This project is community maintained and has no sponsorship from Microsoft, its employees or any of its affiliates.

## [0.9.0] - 2024-10-13

### Added

- Initial support for Server 2025
- Add Dependabot action

### Changed

- Increase Diagrammer.Core minumum requirement
- Increase Diagrammer.Microsoft.AD minumum requirement
- Improve detection of Domain Controller availability (Test-WSMan)

## [0.8.2] - 2024-06-15

### Added
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<a href='https://ko-fi.com/F1F8DEV80' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi1.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
</p>

#### This project is community maintained and has no sponsorship from Microsoft, its employees or any of its affiliates.

# Microsoft AD As Built Report

Microsoft AD As Built Report is a PowerShell module which works in conjunction with [AsBuiltReport.Core](https://github.com/AsBuiltReport/AsBuiltReport.Core).
Expand All @@ -38,7 +40,7 @@ Please refer to the AsBuiltReport [website](https://www.asbuiltreport.com) for m

# :books: Sample Reports

## Sample Report - Custom Style 1
## Sample Report - Default Style with EnableHealthCheck

Sample Microsoft AD As Built report HTML file: [Sample Microsoft AD As-Built Report.html](https://htmlpreview.github.io/?https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Microsoft.AD/dev/Samples/Sample%20Microsoft%20AD%20As%20Built%20Report.html)

Expand Down Expand Up @@ -68,6 +70,8 @@ PowerShell 5.1, and the following PowerShell modules are required for generating
- [AsBuiltReport.Core Module](https://github.com/AsBuiltReport/AsBuiltReport.Core)
- [AsBuiltReport.Microsoft.AD Module](https://www.powershellgallery.com/packages/AsBuiltReport.Microsoft.AD/)
- [PScribo Module](https://github.com/iainbrighton/PScribo)
- [PSGraph Module](https://github.com/KevinMarquette/PSGraph)
- [Diagrammer.Core Module](https://github.com/rebelinux/Diagrammer.Core)
- [Diagrammer.Microsoft.AD Module](https://github.com/rebelinux/Diagrammer.Microsoft.AD)
- [PScriboCharts Module](https://github.com/iainbrighton/PScriboCharts)
- [ActiveDirectory Module](https://docs.microsoft.com/en-us/powershell/module/activedirectory/?view=windowsserver2019-ps)
Expand All @@ -93,6 +97,8 @@ Due to a limitation of the WinRM component, a domain-joined machine is needed, a
<!-- ********** Add installation for any additional PowerShell module(s) ********** -->
```powershell
Install-Module -Name PSPKI
Install-Module -Name PSGraph
Install-Module -Name Diagrammer.Core
Install-Module -Name Diagrammer.Microsoft.AD
Install-Module -Name AsBuiltReport.Microsoft.AD
Install-WindowsFeature -Name RSAT-AD-PowerShell
Expand All @@ -105,6 +111,9 @@ Install-WindowsFeature -Name GPMC
<!-- ********** Add installation for any additional PowerShell module(s) ********** -->
```powershell
Install-Module -Name PSPKI
Install-Module -Name PSGraph
Install-Module -Name Diagrammer.Core
Install-Module -Name Diagrammer.Microsoft.AD
Install-Module -Name AsBuiltReport.Microsoft.AD
Add-WindowsCapability -online -Name 'Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0'
Add-WindowsCapability -Online -Name 'Rsat.CertificateServices.Tools~~~~0.0.1.0'
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrADDCDiag.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADDCDiag {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.0
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand All @@ -30,7 +30,7 @@ function Get-AbrADDCDiag {
}

process {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
$DCDIAG = Invoke-DcDiag -DomainController $DC
if ($DCDIAG) {
Expand Down
16 changes: 8 additions & 8 deletions Src/Private/Get-AbrADDNSInfrastructure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrADDNSInfrastructure {
.DESCRIPTION
.NOTES
Version: 0.8.1
Version: 0.9.0
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -36,7 +36,7 @@ function Get-AbrADDNSInfrastructure {
BlankLine
$OutObj = @()
foreach ($DC in $DCs) {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
$DNSSetting = Get-DnsServerSetting -CimSession $TempCIMSession -ComputerName $DC
$inObj = [ordered] @{
Expand Down Expand Up @@ -74,7 +74,7 @@ function Get-AbrADDNSInfrastructure {
Paragraph "The following section provides Directory Partition information."
BlankLine
foreach ($DC in $DCs) {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
Section -ExcludeFromTOC -Style NOTOCHeading5 $($DC.ToString().ToUpper().Split(".")[0]) {
$OutObj = @()
Expand Down Expand Up @@ -129,7 +129,7 @@ function Get-AbrADDNSInfrastructure {
Section -Style Heading4 "Response Rate Limiting (RRL)" {
$OutObj = @()
foreach ($DC in $DCs) {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
$DNSSetting = Get-DnsServerResponseRateLimiting -CimSession $TempCIMSession -ComputerName $DC
$inObj = [ordered] @{
Expand Down Expand Up @@ -173,7 +173,7 @@ function Get-AbrADDNSInfrastructure {
Section -Style Heading4 "Scavenging Options" {
$OutObj = @()
foreach ($DC in $DCs) {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
$DNSSetting = Get-DnsServerScavenging -CimSession $TempCIMSession -ComputerName $DC
$inObj = [ordered] @{
Expand Down Expand Up @@ -234,7 +234,7 @@ function Get-AbrADDNSInfrastructure {
Section -Style Heading4 "Forwarder Options" {
$OutObj = @()
foreach ($DC in $DCs) {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
$DNSSetting = Get-DnsServerForwarder -CimSession $TempCIMSession -ComputerName $DC
$Recursion = Get-DnsServerRecursion -CimSession $TempCIMSession -ComputerName $DC | Select-Object -ExpandProperty Enable
Expand Down Expand Up @@ -304,7 +304,7 @@ function Get-AbrADDNSInfrastructure {
Paragraph "The following section provides Root Hints information from domain $($Domain)."
BlankLine
foreach ($DC in $DCs) {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
Section -ExcludeFromTOC -Style NOTOCHeading5 $($DC.ToString().ToUpper().Split(".")[0]) {
$OutObj = @()
Expand Down Expand Up @@ -409,7 +409,7 @@ function Get-AbrADDNSInfrastructure {
Section -Style Heading4 "Zone Scope Recursion" {
$OutObj = @()
foreach ($DC in $DCs) {
if (Test-Connection -ComputerName $DC -Quiet -Count 2) {
if (Test-WSMan -Credential $Credential -Authentication $Options.PSDefaultAuthentication -ComputerName $DC -ErrorAction SilentlyContinue) {
try {
$DNSSetting = Get-DnsServerRecursionScope -CimSession $TempCIMSession -ComputerName $DC
$inObj = [ordered] @{
Expand Down
Loading

0 comments on commit 3381050

Please sign in to comment.