Skip to content

Commit 5c8fbcc

Browse files
authored
Merge pull request #218 from rebelinux/dev
v0.9.8
2 parents c5f6bc3 + cc9ac60 commit 5c8fbcc

File tree

78 files changed

+3299
-3077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3299
-3077
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: false

.github/workflows/CodeQL.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ name: CodeQL
1111

1212
on:
1313
push:
14-
branches: [ "dev" ]
14+
branches: ["dev"]
1515
pull_request:
16-
branches: [ "dev" ]
16+
branches: ["dev"]
1717
permissions:
1818
contents: read
1919

@@ -41,6 +41,6 @@ jobs:
4141

4242
# Upload the SARIF file generated in the previous step
4343
- name: Upload SARIF results file
44-
uses: github/codeql-action/upload-sarif@v3
44+
uses: github/codeql-action/upload-sarif@v4
4545
with:
4646
sarif_file: results.sarif

.github/workflows/PSScriptAnalyzer.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ jobs:
55
name: Run PSScriptAnalyzer
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v5
9-
- name: lint
10-
uses: devblackops/github-action-psscriptanalyzer@master
11-
with:
12-
sendComment: true
13-
failOnErrors: true
14-
failOnWarnings: false
15-
failOnInfos: false
16-
repoToken: ${{ secrets.GITHUB_TOKEN }}
17-
settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1
8+
- uses: actions/checkout@v5
9+
- name: lint
10+
uses: alagoutte/github-action-psscriptanalyzer@master
11+
with:
12+
sendComment: true
13+
failOnErrors: true
14+
failOnWarnings: false
15+
failOnInfos: false
16+
repoToken: ${{ secrets.GITHUB_TOKEN }}
17+
settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1

.github/workflows/Stale.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: 'Close stale issues and PRs'
1+
name: "Close stale issues and PRs"
22
on:
33
schedule:
4-
- cron: '30 1 * * *'
4+
- cron: "30 1 * * *"
55

66
jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/stale@v9
1111
with:
12-
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
12+
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
1313
days-before-stale: 30
1414
days-before-close: 7
15-
exempt-pr-labels: 'help wanted,enhancement,security,pinned'
16-
stale-pr-label: 'wontfix'
17-
stale-issue-label: 'wontfix'
18-
exempt-issue-labels: 'help wanted,enhancement,security,pinned'
15+
exempt-pr-labels: "help wanted,enhancement,security,pinned"
16+
stale-pr-label: "wontfix"
17+
stale-issue-label: "wontfix"
18+
exempt-issue-labels: "help wanted,enhancement,security,pinned"

AsBuiltReport.Microsoft.AD.Style.ps1

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

AsBuiltReport.Microsoft.AD.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,20 @@
2929
"DiagramObjDebug": false,
3030
"DiagramWaterMark": "",
3131
"DiagramType": {
32-
"CertificateAuthority": false,
33-
"Forest": false,
34-
"Sites": false,
35-
"SitesInventory": false,
36-
"Trusts": false
32+
"CertificateAuthority": true,
33+
"Forest": true,
34+
"Sites": true,
35+
"SitesInventory": true,
36+
"Trusts": true
3737
},
3838
"ExportDiagrams": false,
3939
"ExportDiagramsFormat": [
40-
"png"
40+
"pdf"
4141
],
4242
"EnableDiagramSignature": false,
4343
"SignatureAuthorName": "",
44-
"SignatureCompanyName": ""
44+
"SignatureCompanyName": "",
45+
"JobsTimeOut": 900
4546
},
4647
"InfoLevel": {
4748
"_comment_": "0 = Disabled, 1 = Enabled, 2 = Adv Summary, 3 = Detailed",

AsBuiltReport.Microsoft.AD.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.Microsoft.AD.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.7'
15+
ModuleVersion = '0.9.8'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -54,7 +54,7 @@
5454
RequiredModules = @(
5555
@{
5656
ModuleName = 'AsBuiltReport.Core';
57-
ModuleVersion = '1.5.0'
57+
ModuleVersion = '1.5.1'
5858
},
5959
@{
6060
ModuleName = 'PSPKI';
@@ -70,7 +70,7 @@
7070
},
7171
@{
7272
ModuleName = 'Diagrammer.Core';
73-
ModuleVersion = '0.2.34'
73+
ModuleVersion = '0.2.35'
7474
}
7575

7676
)

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

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

10+
## [0.9.8] - 2025-12-09
11+
12+
### Added
13+
14+
- Add support for PowerShell 7
15+
- Add function to Invoke-Command with timeout support (Jobs Scheduler)
16+
- Add FileName parameter to Get-AbrDiagrammer to allow custom file names for diagram outputs
17+
18+
### Changed
19+
20+
- Update module version to 0.9.8
21+
- Upgrade Diagrammer.Core module to version `0.2.35`
22+
- Upgrade AsBuiltReport.Core module to version `1.5.1`
23+
- Change Psscriptanalyzer action to alagoutte/github-action-psscriptanalyzer
24+
- Update CodeQL action to v4
25+
- Migrate function located in SharedUtilsFunctions.ps1 to its own file for better modularity and maintainability
26+
- Change export diagrams format to "PDF" by default
27+
- Improve Get-RequiredFeatures function to better handle feature retrieval and error handling
28+
- Improve timeout warning message in Invoke-CommandWithTimeout
29+
30+
### Fixed
31+
32+
- Fix HealthCheck in Get-AbrADDomainLastBackup script to correctly evaluate the 'Last Backup in Days' property as an integer
33+
- Fix 'Orphaned GPO' section displaying data when no orphaned GPOs are found in Get-AbrADGPO script
34+
- Fix diagram export to allow generate Trusts diagrams per child domain
35+
1036
## [0.9.7] - 2025-11-14
1137

1238
### Changed

Language/en-US/MicrosoftAD.psd1

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# culture = 'en-US'
2+
@{
3+
# InvokeAsBuiltReportMicrosoftAD
4+
InvokeAsBuiltReportMicrosoftAD = ConvertFrom-StringData @'
5+
PwshISE = This script cannot be run inside the PowerShell ISE. Please execute it from the PowerShell Command Window.
6+
ReportModuleInfo3 = - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.{0}
7+
ReportModuleInfo2 = - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.{0}/issues
8+
ReportModuleInfo1 = - Do not forget to update your report configuration file after each new version release: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/
9+
ReportModuleInfo4 = - To sponsor this project, please visit:
10+
ReportModuleInfo5 = https://ko-fi.com/F1F8DEV80
11+
ReportModuleInfo6 = - Getting dependency information:
12+
ProjectWebsite = - Please refer to the AsBuiltReport.Microsoft.AD github website for more detailed information about this project.
13+
CommunityProject = - AsBuiltReport is a community-maintained open source project. It has no sponsorship, endorsement, or affiliation with any technology vendors, their employees, or affiliates.
14+
DISCLAIMER = The information in this report has been gathered through automation and direct observation. The recommendations and conclusions are based on industry best practices, technical expertise, and empirical data. While comprehensive, this assessment may not cover all possible scenarios or configurations. Implementation of these recommendations should be carried out by qualified personnel with the appropriate knowledge and experience. The author(s) assume no responsibility for any damages, including but not limited to loss of business profits, business interruption, loss of data, or other financial losses resulting from the use of or reliance on this report.
15+
'@
16+
17+
# Get-AbrADForest
18+
GetAbrADForest = ConvertFrom-StringData @'
19+
InfoLevel = {0} InfoLevel set at {1}.
20+
Collecting = Collecting Active Directory forest information.
21+
ParagraphDetail = The following sections detail the forest information.
22+
ParagraphSummary = The following table summarises the forest information.
23+
Heading = Forest Information
24+
25+
ForestName = Forest Name
26+
ForestFunctionalLevel = Forest Functional Level
27+
SchemaVersion = Schema Version
28+
SchemaVersionValue = ObjectVersion {0}, Correspond to {1}
29+
TombstoneLifetime = Tombstone Lifetime (days)
30+
Domains = Domains
31+
GlobalCatalogs = Global Catalogs
32+
DomainsCount = Domains Count
33+
GlobalCatalogsCount = Global Catalogs Count
34+
SitesCount = Sites Count
35+
ApplicationPartitions = Application Partitions
36+
PartitionsContainer = Partitions Container
37+
SPNSuffixes = SPN Suffixes
38+
UPNSuffixes = UPN Suffixes
39+
AnonymousAccess = Anonymous Access (dsHeuristics)
40+
AnonymousAccessEnabled = Enabled
41+
AnonymousAccessDisabled = Disabled
42+
'@
43+
}

Language/es-ES/MicrosoftAD.psd1

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# culture="es-ES"
2+
@{
3+
# InvokeAsBuiltReportMicrosoftAD
4+
InvokeAsBuiltReportMicrosoftAD = ConvertFrom-StringData @'
5+
PwshISE = Este script no puede ejecutarse dentro de PowerShell ISE. Por favor ejecútelo desde la Ventana de Comandos de PowerShell.
6+
ReportModuleInfo3 = - Documentación: https://github.com/AsBuiltReport/AsBuiltReport.{0}
7+
ReportModuleInfo2 = - Problemas o reporte de errores: https://github.com/AsBuiltReport/AsBuiltReport.{0}/issues
8+
ReportModuleInfo1 = - No olvide actualizar su archivo de configuración de reporte después de cada nueva versión: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/
9+
ReportModuleInfo4 = - Para patrocinar este proyecto, por favor visite:
10+
ReportModuleInfo5 = https://ko-fi.com/F1F8DEV80
11+
ReportModuleInfo6 = - Obteniendo información de dependencias:
12+
ProjectWebsite = - Por favor consulte el sitio web de github de AsBuiltReport.Microsoft.AD para obtener información más detallada sobre este proyecto.
13+
CommunityProject = - AsBuiltReport es un proyecto de código abierto mantenido por la comunidad. No tiene patrocinio, respaldo o afiliación con ningún proveedor de tecnología, sus empleados o afiliados.
14+
DISCLAIMER = La información en este informe ha sido recopilada mediante automatización y observación directa. Las recomendaciones y conclusiones se basan en las mejores prácticas de la industria, experiencia técnica y datos empíricos. Aunque es exhaustivo, esta evaluación puede no cubrir todos los posibles escenarios o configuraciones. La implementación de estas recomendaciones debe ser realizada por personal calificado con el conocimiento y la experiencia adecuados. El(los) autor(es) no asumen ninguna responsabilidad por daños, incluidos, entre otros, la pérdida de beneficios comerciales, interrupción del negocio, pérdida de datos u otras pérdidas financieras derivadas del uso o la confianza en este informe.
15+
'@
16+
17+
# Get-AbrADForest
18+
GetAbrADForest = ConvertFrom-StringData @'
19+
InfoLevel = {0} InfoLevel establecido en {1}.
20+
Collecting = Recopilando información del bosque de Active Directory.
21+
ParagraphDetail = Las siguientes secciones detallan la información del bosque.
22+
ParagraphSummary = La siguiente tabla resume la información del bosque.
23+
Heading = Información del Bosque
24+
25+
ForestName = Nombre del Bosque
26+
ForestFunctionalLevel = Nivel Funcional del Bosque
27+
SchemaVersion = Versión del Esquema
28+
SchemaVersionValue = ObjectVersion {0}, Corresponde a {1}
29+
TombstoneLifetime = Duración de Desecho (días)
30+
Domains = Dominios
31+
GlobalCatalogs = Catálogos Globales
32+
DomainsCount = Cantidad de Dominios
33+
GlobalCatalogsCount = Cantidad de Catálogos Globales
34+
SitesCount = Cantidad de Sitios
35+
ApplicationPartitions = Particiones de Aplicación
36+
PartitionsContainer = Contenedor de Particiones
37+
SPNSuffixes = Sufijos SPN
38+
UPNSuffixes = Sufijos UPN
39+
AnonymousAccess = Acceso Anónimo (dsHeuristics)
40+
AnonymousAccessEnabled = Habilitado
41+
AnonymousAccessDisabled = Deshabilitado
42+
'@
43+
}

0 commit comments

Comments
 (0)