From c11c0d3d2ccbd425ad545a96b449abab4597a65e Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 8 Jun 2024 16:22:35 -0400 Subject: [PATCH 1/4] Fix for PSScriptAnalyzer issues --- .../workflows/PSScriptAnalyzerSettings.psd1 | 17 +++++-- AsBuiltReport.Microsoft.AD.Style.ps1 | 2 +- Src/Private/Get-AbrADDCRoleFeature.ps1 | 9 ++-- Src/Private/Get-AbrADDomainController.ps1 | 4 +- Src/Private/Get-AbrADDomainObject.ps1 | 10 ++-- Src/Private/Get-AbrADForest.ps1 | 2 +- .../Get-AbrADInfrastructureService.ps1 | 48 ++++++++++--------- Src/Private/Get-AbrADTrust.ps1 | 4 +- Src/Private/Get-AbrDNSSection.ps1 | 2 +- Src/Private/Get-AbrDomainSection.ps1 | 21 ++++---- Src/Private/Get-AbrForestSection.ps1 | 2 +- Src/Private/Get-AbrPKISection.ps1 | 2 +- 12 files changed, 68 insertions(+), 55 deletions(-) diff --git a/.github/workflows/PSScriptAnalyzerSettings.psd1 b/.github/workflows/PSScriptAnalyzerSettings.psd1 index abade95..5556450 100644 --- a/.github/workflows/PSScriptAnalyzerSettings.psd1 +++ b/.github/workflows/PSScriptAnalyzerSettings.psd1 @@ -1,10 +1,17 @@ @{ ExcludeRules = @( 'PSUseBOMForUnicodeEncodedFile', - 'PSUseToExportFieldsInManifest', - 'PSReviewUnusedParameter', - 'PSUseDeclaredVarsMoreThanAssignments', - 'PSAvoidGlobalVars', - 'PSAvoidUsingEmptyCatchBlock' + 'PSUseToExportFieldsInManifest' ) + Rules = @{ + PSAvoidExclaimOperator = @{ + Enable = $true + } + AvoidUsingDoubleQuotesForConstantString = @{ + Enable = $true + } + UseCorrectCasing = @{ + Enable = $true + } + } } diff --git a/AsBuiltReport.Microsoft.AD.Style.ps1 b/AsBuiltReport.Microsoft.AD.Style.ps1 index b3c94e4..636b1c8 100644 --- a/AsBuiltReport.Microsoft.AD.Style.ps1 +++ b/AsBuiltReport.Microsoft.AD.Style.ps1 @@ -62,7 +62,7 @@ if ($ReportConfig.Report.ShowHeaderFooter) { } # Set position of report titles and information based on page orientation -if (!($ReportConfig.Report.ShowCoverPageImage)) { +if (-Not ($ReportConfig.Report.ShowCoverPageImage)) { $LineCount = 5 } if ($Orientation -eq 'Portrait') { diff --git a/Src/Private/Get-AbrADDCRoleFeature.ps1 b/Src/Private/Get-AbrADDCRoleFeature.ps1 index d32319b..d1e6598 100644 --- a/Src/Private/Get-AbrADDCRoleFeature.ps1 +++ b/Src/Private/Get-AbrADDCRoleFeature.ps1 @@ -29,12 +29,13 @@ function Get-AbrADDCRoleFeature { process { try { - $DCPssSession = New-PSSession $DC -Credential $Credential -Authentication $Options.PSDefaultAuthentication -Name 'ADDCRoleFeature' - if ($DCPssSession) { + if ($DCPssSession = New-PSSession $DC -Credential $Credential -Authentication $Options.PSDefaultAuthentication -Name 'ADDCRoleFeature') { + $Features = Invoke-Command -Session $DCPssSession -ScriptBlock { Get-WindowsFeature | Where-Object { $_.installed -eq "True" -and $_.FeatureType -eq 'Role' } } + Remove-PSSession -Session $DCPssSession + } + if ($Features) { Section -ExcludeFromTOC -Style NOTOCHeading5 $($DC.ToString().ToUpper().Split(".")[0]) { $OutObj = @() - $Features = Invoke-Command -Session $DCPssSession -ScriptBlock { Get-WindowsFeature | Where-Object { $_.installed -eq "True" -and $_.FeatureType -eq 'Role' } } - Remove-PSSession -Session $DCPssSession foreach ($Feature in $Features) { try { $inObj = [ordered] @{ diff --git a/Src/Private/Get-AbrADDomainController.ps1 b/Src/Private/Get-AbrADDomainController.ps1 index f0183e3..6a2d829 100644 --- a/Src/Private/Get-AbrADDomainController.ps1 +++ b/Src/Private/Get-AbrADDomainController.ps1 @@ -32,8 +32,8 @@ function Get-AbrADDomainController { try { $OutObj = @() $inObj = [ordered] @{ - 'Domain Controller' = $DomainController.Count - 'Global Catalog' = $GC.Count + 'Domain Controller' = ($DomainController | Measure-Object).Count + 'Global Catalog' = ($GC | Measure-Object).Count } $OutObj += [pscustomobject]$inobj diff --git a/Src/Private/Get-AbrADDomainObject.ps1 b/Src/Private/Get-AbrADDomainObject.ps1 index a36f989..862419e 100644 --- a/Src/Private/Get-AbrADDomainObject.ps1 +++ b/Src/Private/Get-AbrADDomainObject.ps1 @@ -524,8 +524,8 @@ function Get-AbrADDomainObject { try { $OutObj = @() $inObj = [ordered] @{ - 'Computers' = $Computers.Count - 'Servers' = $Servers.Count + 'Computers' = ($Computers | Measure-Object).Count + 'Servers' = ($Servers | Measure-Object).Count } $OutObj += [pscustomobject]$inobj @@ -692,9 +692,9 @@ function Get-AbrADDomainObject { 'DNS HostName' = ConvertTo-EmptyToFiller $Computer.DNSHostName 'Operating System' = ConvertTo-EmptyToFiller $Computer.operatingSystem 'Status' = Switch ($Computer.Enabled) { - 'True' {'Enabled'} - 'False' {'Disabled'} - default {'Unknown'} + 'True' { 'Enabled' } + 'False' { 'Disabled' } + default { 'Unknown' } } } $OutObj += [pscustomobject]$inobj diff --git a/Src/Private/Get-AbrADForest.ps1 b/Src/Private/Get-AbrADForest.ps1 index 06ada87..58ec814 100644 --- a/Src/Private/Get-AbrADForest.ps1 +++ b/Src/Private/Get-AbrADForest.ps1 @@ -133,7 +133,7 @@ function Get-AbrADForest { Paragraph 'In cryptography, a certificate authority or certification authority (CA) is an entity that issues digital certificates. A digital certificate certifies the ownership of a public key by the named subject of the certificate. This allows others (relying parties) to rely upon signatures or on assertions made about the private key that corresponds to the certified public key. A CA acts as a trusted third party trusted both by the subject (owner) of the certificate and by the party relying upon the certificate. The format of these certificates is specified by the X.509 or EMV standard.' BlankLine } - if (!$Options.ShowDefinitionInfo) { + if (-Not $Options.ShowDefinitionInfo) { Paragraph "The following section provides a summary of the Active Directory PKI Infrastructure Information." BlankLine } diff --git a/Src/Private/Get-AbrADInfrastructureService.ps1 b/Src/Private/Get-AbrADInfrastructureService.ps1 index 3b93d6b..7c9b045 100644 --- a/Src/Private/Get-AbrADInfrastructureService.ps1 +++ b/Src/Private/Get-AbrADInfrastructureService.ps1 @@ -30,41 +30,43 @@ function Get-AbrADInfrastructureService { process { try { $DCPssSession = New-PSSession $DC -Credential $Credential -Authentication $Options.PSDefaultAuthentication -Name 'DomainControllerInfrastructureServices' - $Available = Invoke-Command -Session $DCPssSession -ScriptBlock { Get-Service "W32Time" | Select-Object DisplayName, Name, Status } - if ($Available) { - Section -ExcludeFromTOC -Style NOTOCHeading5 $($DC.ToString().ToUpper().Split(".")[0]) { - $OutObj = @() - if ($DC) { - $Services = @('CertSvc', 'DHCPServer', 'DNS', 'DFS Replication', 'Intersite Messaging', 'Kerberos Key Distribution Center', 'NetLogon', 'Active Directory Domain Services', 'W32Time', 'ADWS', 'RPCSS', 'EVENTSYSTEM', 'DNSCACHE', 'SAMSS', 'WORKSTATION', 'Spooler') - foreach ($Service in $Services) { - try { - $Status = Invoke-Command -Session $DCPssSession -ScriptBlock { Get-Service $using:Service -ErrorAction SilentlyContinue | Select-Object DisplayName, Name, Status } - if ($Status) { - $inObj = [ordered] @{ - 'Display Name' = $Status.DisplayName - 'Short Name' = $Status.Name - 'Status' = $Status.Status - } - $OutObj += [pscustomobject]$inobj - } - } catch { - Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Domain Controller Infrastructure Services Item)" + if ($DCPssSession -and ($Available = Invoke-Command -Session $DCPssSession -ScriptBlock { Get-Service "W32Time" | Select-Object DisplayName, Name, Status })) { + $OutObj = @() + $Services = @('CertSvc', 'DHCPServer', 'DNS', 'DFS Replication', 'Intersite Messaging', 'Kerberos Key Distribution Center', 'NetLogon', 'Active Directory Domain Services', 'W32Time', 'ADWS', 'RPCSS', 'EVENTSYSTEM', 'DNSCACHE', 'SAMSS', 'WORKSTATION', 'Spooler') + foreach ($Service in $Services) { + try { + $Status = Invoke-Command -Session $DCPssSession -ScriptBlock { Get-Service $using:Service -ErrorAction SilentlyContinue | Select-Object DisplayName, Name, Status } + if ($Status) { + $inObj = [ordered] @{ + 'Display Name' = $Status.DisplayName + 'Short Name' = $Status.Name + 'Status' = $Status.Status } + $OutObj += [pscustomobject]$inobj } + } catch { + Write-PScriboMessage -IsWarning "$($_.Exception.Message) (Domain Controller Infrastructure Services Item)" + } + } - if ($HealthCheck.DomainController.Services) { - $OutObj | Where-Object { $_.'Status' -notlike 'Running' -and $_.'Short Name' -notlike 'Spooler' } | Set-Style -Style Warning -Property 'Status' - $OutObj | Where-Object { $_.'Short Name' -eq 'Spooler' } | Set-Style -Style Critical - } + if ($HealthCheck.DomainController.Services) { + $OutObj | Where-Object { $_.'Status' -notlike 'Running' -and $_.'Short Name' -notlike 'Spooler' } | Set-Style -Style Warning -Property 'Status' + $OutObj | Where-Object { $_.'Short Name' -eq 'Spooler' } | Set-Style -Style Critical + } + + if ($OutObj) { + Section -ExcludeFromTOC -Style NOTOCHeading5 $($DC.ToString().ToUpper().Split(".")[0]) { $TableParams = @{ Name = "Infrastructure Services Status - $($DC.ToString().ToUpper().Split(".")[0])" List = $false ColumnWidths = 40, 40, 20 } + if ($Report.ShowTableCaptions) { $TableParams['Caption'] = "- $($TableParams.Name)" } + $OutObj | Sort-Object -Property 'Display Name' | Table @TableParams if ($HealthCheck.DomainController.Services -and ($OutObj | Where-Object { $_.'Short Name' -eq 'Spooler' -and $_.'Status' -like 'Running' })) { Paragraph "Health Check:" -Bold -Underline diff --git a/Src/Private/Get-AbrADTrust.ps1 b/Src/Private/Get-AbrADTrust.ps1 index 3a40591..2362231 100644 --- a/Src/Private/Get-AbrADTrust.ps1 +++ b/Src/Private/Get-AbrADTrust.ps1 @@ -52,14 +52,14 @@ function Get-AbrADTrust { 16 { "Cross-Organizational Trust (Selective Authentication)" } 32 { "Intra-Forest Trust (trust within the forest)" } 64 { "Inter-Forest Trust (trust with another forest)" } - default {$Trust.TrustAttributes} + default { $Trust.TrustAttributes } } 'Trust Direction' = Switch ($Trust.TrustDirection) { 0 { "Disabled (The trust relationship exists but has been disabled)" } 1 { "Inbound (TrustING domain)" } 2 { "Outbound (TrustED domain)" } 3 { "Bidirectional (two-way trust)" } - default {$Trust.TrustDirection} + default { $Trust.TrustDirection } } 'IntraForest' = ConvertTo-TextYN $Trust.IntraForest 'Selective Authentication' = ConvertTo-TextYN $Trust.SelectiveAuthentication diff --git a/Src/Private/Get-AbrDNSSection.ps1 b/Src/Private/Get-AbrDNSSection.ps1 index 8a5c32a..a930b28 100644 --- a/Src/Private/Get-AbrDNSSection.ps1 +++ b/Src/Private/Get-AbrDNSSection.ps1 @@ -29,7 +29,7 @@ function Get-AbrDNSSection { Paragraph "The Domain Name System (DNS) is a hierarchical and decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates more readily memorized domain names to the numerical IP addresses needed for locating and identifying computer services and devices with the underlying network protocols." BlankLine } - if (!$Options.ShowDefinitionInfo) { + if (-Not $Options.ShowDefinitionInfo) { Paragraph "The following section provides a summary of the Active Directory DNS Infrastructure Information." BlankLine } diff --git a/Src/Private/Get-AbrDomainSection.ps1 b/Src/Private/Get-AbrDomainSection.ps1 index 7381f7a..e562cfd 100644 --- a/Src/Private/Get-AbrDomainSection.ps1 +++ b/Src/Private/Get-AbrDomainSection.ps1 @@ -29,7 +29,7 @@ function Get-AbrDomainSection { Paragraph "An Active Directory domain is a collection of objects within a Microsoft Active Directory network. An object can be a single user or a group or it can be a hardware component, such as a computer or printer.Each domain holds a database containing object identity information. Active Directory domains can be identified using a DNS name, which can be the same as an organization's public domain name, a sub-domain or an alternate version (which may end in .local)." BlankLine } - if (!$Options.ShowDefinitionInfo) { + if (-Not $Options.ShowDefinitionInfo) { Paragraph "The following section provides a summary of the Active Directory Domain Information." BlankLine } @@ -69,7 +69,7 @@ function Get-AbrDomainSection { Paragraph "A domain controller (DC) is a server computer that responds to security authentication requests within a computer network domain. It is a network server that is responsible for allowing host access to domain resources. It authenticates users, stores user account information and enforces security policy for a domain." BlankLine } - if (!$Options.ShowDefinitionInfo) { + if (-Not $Options.ShowDefinitionInfo) { if ($InfoLevel.Domain -ge 2) { Paragraph "The following section provides detailed information about Active Directory domain controllers." BlankLine @@ -89,7 +89,7 @@ function Get-AbrDomainSection { Paragraph "The following section provides a summary of installed role & features on $Domain DCs." foreach ($DC in $DCs) { $DCStatus = Test-Connection -ComputerName $DC -Quiet -Count 2 - if ($DCStatus -eq $false) { + if (-Not $DCStatus) { Write-PScriboMessage -IsWarning "Unable to connect to $DC. Removing it from the $Domain report" } if ($DCStatus) { @@ -115,12 +115,15 @@ function Get-AbrDomainSection { } } try { - Section -Style Heading4 "Infrastructure Services" { - Paragraph "The following section provides a summary of the Domain Controller Infrastructure services status." - foreach ($DC in $DCs) { - if (Test-Connection -ComputerName $DC -Quiet -Count 2) { - Get-AbrADInfrastructureService -DC $DC - } + $ADInfraServices = foreach ($DC in $DCs) { + if (Test-Connection -ComputerName $DC -Quiet -Count 2) { + Get-AbrADInfrastructureService -DC $DC + } + } + if ($ADInfraServices) { + Section -Style Heading4 "Infrastructure Services" { + Paragraph "The following section provides a summary of the Domain Controller Infrastructure services status." + $ADInfraServices } } } catch { diff --git a/Src/Private/Get-AbrForestSection.ps1 b/Src/Private/Get-AbrForestSection.ps1 index f655af1..85a8dd6 100644 --- a/Src/Private/Get-AbrForestSection.ps1 +++ b/Src/Private/Get-AbrForestSection.ps1 @@ -34,7 +34,7 @@ function Get-AbrForestSection { Paragraph "The Active Directory framework that holds the objects can be viewed at a number of levels. The forest, tree, and domain are the logical divisions in an Active Directory network. At the top of the structure is the forest. A forest is a collection of trees that share a common global catalog, directory schema, logical structure, and directory configuration. The forest represents the security boundary within which users, computers, groups, and other objects are accessible." BlankLine } - if (!$Options.ShowDefinitionInfo) { + if (-Not $Options.ShowDefinitionInfo) { Paragraph "The following section provides a summary of the Active Directory Forest Information." BlankLine } diff --git a/Src/Private/Get-AbrPKISection.ps1 b/Src/Private/Get-AbrPKISection.ps1 index 5556304..cc1ab0e 100644 --- a/Src/Private/Get-AbrPKISection.ps1 +++ b/Src/Private/Get-AbrPKISection.ps1 @@ -45,7 +45,7 @@ function Get-AbrPKISection { Paragraph 'In cryptography, a certificate authority or certification authority (CA) is an entity that issues digital certificates. A digital certificate certifies the ownership of a public key by the named subject of the certificate. This allows others (relying parties) to rely upon signatures or on assertions made about the private key that corresponds to the certified public key. A CA acts as a trusted third party trusted both by the subject (owner) of the certificate and by the party relying upon the certificate. The format of these certificates is specified by the X.509 or EMV standard.' BlankLine } - if (!$Options.ShowDefinitionInfo) { + if (-Not $Options.ShowDefinitionInfo) { Paragraph "The following section provides a summary of the Active Directory PKI Infrastructure Information." BlankLine } From c1b709c9a121c069c894deff29fac4b8bdf5b06e Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 8 Jun 2024 16:52:16 -0400 Subject: [PATCH 2/4] Fix BOM issue --- Src/Private/Get-AbrADSite.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Private/Get-AbrADSite.ps1 b/Src/Private/Get-AbrADSite.ps1 index f3faa6e..35efed4 100644 --- a/Src/Private/Get-AbrADSite.ps1 +++ b/Src/Private/Get-AbrADSite.ps1 @@ -81,7 +81,7 @@ function Get-AbrADSite { } $OutObj | Sort-Object -Property 'Site Name' | Table @TableParams if ($HealthCheck.Site.BestPractice -and (($OutObj | Where-Object { $_.'Subnets' -eq '--' }) -or ($OutObj | Where-Object { $_.'Description' -eq '--' }))) { - Paragraph "Health Check:" -Bold -Underline + Paragraph 'Health Check:' -Bold -Underline BlankLine if ($OutObj | Where-Object { $_.'Subnets' -eq 'No subnet assigned' }) { Paragraph { From 529de627e1e7a09951d070bf770493fa5be9965f Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 8 Jun 2024 16:54:41 -0400 Subject: [PATCH 3/4] Upgrade file version 0.8.2 --- Src/Private/Get-AbrADDCRoleFeature.ps1 | 2 +- Src/Private/Get-AbrADDomainController.ps1 | 2 +- Src/Private/Get-AbrADDomainObject.ps1 | 2 +- Src/Private/Get-AbrADForest.ps1 | 2 +- Src/Private/Get-AbrADInfrastructureService.ps1 | 2 +- Src/Private/Get-AbrADSite.ps1 | 2 +- Src/Private/Get-AbrADTrust.ps1 | 2 +- Src/Private/Get-AbrDNSSection.ps1 | 2 +- Src/Private/Get-AbrForestSection.ps1 | 2 +- Src/Private/Get-AbrPKISection.ps1 | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Src/Private/Get-AbrADDCRoleFeature.ps1 b/Src/Private/Get-AbrADDCRoleFeature.ps1 index d1e6598..ed13611 100644 --- a/Src/Private/Get-AbrADDCRoleFeature.ps1 +++ b/Src/Private/Get-AbrADDCRoleFeature.ps1 @@ -5,7 +5,7 @@ function Get-AbrADDCRoleFeature { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrADDomainController.ps1 b/Src/Private/Get-AbrADDomainController.ps1 index 6a2d829..8484d0c 100644 --- a/Src/Private/Get-AbrADDomainController.ps1 +++ b/Src/Private/Get-AbrADDomainController.ps1 @@ -5,7 +5,7 @@ function Get-AbrADDomainController { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrADDomainObject.ps1 b/Src/Private/Get-AbrADDomainObject.ps1 index 862419e..bc61ba8 100644 --- a/Src/Private/Get-AbrADDomainObject.ps1 +++ b/Src/Private/Get-AbrADDomainObject.ps1 @@ -5,7 +5,7 @@ function Get-AbrADDomainObject { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrADForest.ps1 b/Src/Private/Get-AbrADForest.ps1 index 58ec814..4714796 100644 --- a/Src/Private/Get-AbrADForest.ps1 +++ b/Src/Private/Get-AbrADForest.ps1 @@ -5,7 +5,7 @@ function Get-AbrADForest { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrADInfrastructureService.ps1 b/Src/Private/Get-AbrADInfrastructureService.ps1 index 7c9b045..ca00598 100644 --- a/Src/Private/Get-AbrADInfrastructureService.ps1 +++ b/Src/Private/Get-AbrADInfrastructureService.ps1 @@ -5,7 +5,7 @@ function Get-AbrADInfrastructureService { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrADSite.ps1 b/Src/Private/Get-AbrADSite.ps1 index 35efed4..c41efca 100644 --- a/Src/Private/Get-AbrADSite.ps1 +++ b/Src/Private/Get-AbrADSite.ps1 @@ -5,7 +5,7 @@ function Get-AbrADSite { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrADTrust.ps1 b/Src/Private/Get-AbrADTrust.ps1 index 2362231..ce22789 100644 --- a/Src/Private/Get-AbrADTrust.ps1 +++ b/Src/Private/Get-AbrADTrust.ps1 @@ -5,7 +5,7 @@ function Get-AbrADTrust { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrDNSSection.ps1 b/Src/Private/Get-AbrDNSSection.ps1 index a930b28..a8c3732 100644 --- a/Src/Private/Get-AbrDNSSection.ps1 +++ b/Src/Private/Get-AbrDNSSection.ps1 @@ -5,7 +5,7 @@ function Get-AbrDNSSection { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrForestSection.ps1 b/Src/Private/Get-AbrForestSection.ps1 index 85a8dd6..b79bc29 100644 --- a/Src/Private/Get-AbrForestSection.ps1 +++ b/Src/Private/Get-AbrForestSection.ps1 @@ -5,7 +5,7 @@ function Get-AbrForestSection { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux diff --git a/Src/Private/Get-AbrPKISection.ps1 b/Src/Private/Get-AbrPKISection.ps1 index cc1ab0e..31e7868 100644 --- a/Src/Private/Get-AbrPKISection.ps1 +++ b/Src/Private/Get-AbrPKISection.ps1 @@ -5,7 +5,7 @@ function Get-AbrPKISection { .DESCRIPTION .NOTES - Version: 0.8.1 + Version: 0.8.2 Author: Jonathan Colon Twitter: @jcolonfzenpr Github: rebelinux From de834fd6f5ed909ab2b2ab47752bfb86bd317c03 Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 8 Jun 2024 16:58:56 -0400 Subject: [PATCH 4/4] Increased module version 0.8.2 --- AsBuiltReport.Microsoft.AD.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsBuiltReport.Microsoft.AD.psd1 b/AsBuiltReport.Microsoft.AD.psd1 index c977d40..2dbeb11 100644 --- a/AsBuiltReport.Microsoft.AD.psd1 +++ b/AsBuiltReport.Microsoft.AD.psd1 @@ -12,7 +12,7 @@ RootModule = 'AsBuiltReport.Microsoft.AD.psm1' # Version number of this module. - ModuleVersion = '0.8.1' + ModuleVersion = '0.8.2' # Supported PSEditions # CompatiblePSEditions = @()