Skip to content

Commit 634d34c

Browse files
authored
Merge pull request #20 from rebelinux/dev
v0.2.1
2 parents 567abb2 + c2e51a2 commit 634d34c

31 files changed

+4851
-1416
lines changed

.github/workflows/PSScriptAnalyzer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
name: Run PSScriptAnalyzer
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v5
99
- name: lint
1010
uses: devblackops/github-action-psscriptanalyzer@master
1111
with:

.github/workflows/Release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66

77
jobs:
88
publish-to-gallery:
9-
runs-on: windows-2019
9+
runs-on: windows-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v5
1212
- name: Set PSRepository to Trusted for PowerShell Gallery
1313
shell: pwsh
1414
run: |
@@ -29,7 +29,7 @@ jobs:
2929
needs: publish-to-gallery
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: Eomm/why-don-t-you-tweet@v1
32+
- uses: Eomm/why-don-t-you-tweet@v2.0
3333
# We don't want to tweet if the repository is not a public one
3434
if: ${{ !github.event.repository.private }}
3535
with:
@@ -41,3 +41,13 @@ jobs:
4141
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
4242
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
4343
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
44+
bsky-post:
45+
needs: publish-to-gallery
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: zentered/[email protected]
49+
with:
50+
post: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #Microsoft #DHCP #AsBuiltReport #PowerShell #MicrosoftMVP #MVPBuzz"
51+
env:
52+
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
53+
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: PSScriptAnalyzer
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
3333

3434
- name: Run PSScriptAnalyzer
3535
uses: microsoft/[email protected]

AsBuiltReport.Microsoft.DHCP.Style.ps1

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

AsBuiltReport.Microsoft.DHCP.psd1

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

1414
# Version number of this module.
15-
ModuleVersion = '0.2.0'
15+
ModuleVersion = '0.2.1'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -27,7 +27,7 @@ Author = 'Jonathan Colon'
2727
# CompanyName = 'Unknown'
2828

2929
# Copyright statement for this module
30-
Copyright = '(c) 2023 Jonathan Colon. All rights reserved.'
30+
Copyright = '(c) 2025 Jonathan Colon. All rights reserved.'
3131

3232
# Description of the functionality provided by this module
3333
Description = 'Repository for AsBuiltReport Microsoft DHCP module'
@@ -54,7 +54,7 @@ PowerShellVersion = '5.1'
5454
RequiredModules = @(
5555
@{
5656
ModuleName = 'AsBuiltReport.Core';
57-
ModuleVersion = '1.3.0'
57+
ModuleVersion = '1.4.3'
5858
}
5959
)
6060
# Assemblies that must be loaded prior to importing this module

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# :arrows_clockwise: Microsoft DHCP As Built Report Changelog
22

3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.2.1] - 2025-09-26
9+
10+
### Added
11+
12+
- Improve detection of empty fields in tables
13+
- Improve detection of true/false elements in tables
14+
- Update GitHub release workflow to add post to Bluesky social platform
15+
- Add code to properly display space information
16+
17+
### Changed
18+
19+
- Improve detection of Dhcp Server availability (Test-WSMan)
20+
- Update the Eomm/why-don-t-you-tweet action to v2.0.0
21+
- Update the zentered/bluesky-post-action to v0.3.0
22+
- Update the actions/checkout action to v5
23+
- Deny connection to backup server by Ip Address
24+
- Increase AsBuiltReport.Core modules to v1.4.3
25+
- Updated version number in multiple scripts to 0.2.1.
26+
- Improved formatting and readability in various sections of the code.
27+
328
## [0.2.0] - 2023-06-24
429

530
### Added

README.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ Please refer to the AsBuiltReport [website](https://www.asbuiltreport.com) for m
3939

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

42-
Sample Microsoft DHCP As Built report PDF file: [Sample Microsoft DHCP As Built Report.pdf](https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Microsoft.DHCP/master/Samples/Sample%20Microsoft%20DHCP%20As%20Built%20Report.pdf)
43-
4442
# :beginner: Getting Started
4543
Below are the instructions on how to install, configure and generate a Microsoft DHCP As Built report.
4644

@@ -58,9 +56,9 @@ If you need to document an standalone DHCP server a better option is to use the
5856
This report is compatible with the following PowerShell versions;
5957

6058
<!-- ********** Update supported PowerShell versions ********** -->
61-
| Windows PowerShell 5.1 | PowerShell 7 |
62-
|:----------------------:|:--------------------:|
63-
| :white_check_mark: | :x: |
59+
| Windows PowerShell 5.1 | PowerShell 7 |
60+
| :--------------------: | :----------: |
61+
| :white_check_mark: | :x: |
6462
## :wrench: System Requirements
6563
<!-- ********** Update system requirements ********** -->
6664
PowerShell 5.1, and the following PowerShell modules are required for generating a Microsoft DHCP As Built Report.
@@ -124,7 +122,7 @@ The following provides information of how to configure each schema within the re
124122
The **Report** schema provides configuration of the Microsoft DHCP report information.
125123

126124
| Sub-Schema | Setting | Default | Description |
127-
|---------------------|--------------|--------------------------------|--------------------------------------------------------------|
125+
| ------------------- | ------------ | ------------------------------ | ------------------------------------------------------------ |
128126
| Name | User defined | Microsoft DHCP As Built Report | The name of the As Built Report |
129127
| Version | User defined | 1.0 | The report version |
130128
| Status | User defined | Released | The report release status |
@@ -136,30 +134,30 @@ The **Report** schema provides configuration of the Microsoft DHCP report inform
136134
### Options
137135
The **Options** schema allows certain options within the report to be toggled on or off.
138136

139-
| Sub-Schema | Setting | Default | Description |
140-
|-----------------|--------------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
141-
| ShowDefinitionInfo | true/false | false | Toggle to enable/disable Microsoft AD term explanations
142-
| PSDefaultAuthentication | Negotiate/Kerberos | Negotiate | Allow to set the value of the PSRemoting authentication method. For Workgroup authentication Negotiate value is required. |
143-
| ServerDiscovery | Domain/Standalone | Domain | Allow to set the DHCP servers discovery |
144-
| Exclude.Domains | Array List | Empty | Allow to filter on AD Domain FQDN |
145-
| Exclude.DCs | Array List | Empty | Allow to filter on AD Domain Controller Server FQDN. |
137+
| Sub-Schema | Setting | Default | Description |
138+
| ----------------------- | ------------------ | --------- | ------------------------------------------------------------------------------------------------------------------------- |
139+
| ShowDefinitionInfo | true/false | false | Toggle to enable/disable Microsoft AD term explanations |
140+
| PSDefaultAuthentication | Negotiate/Kerberos | Negotiate | Allow to set the value of the PSRemoting authentication method. For Workgroup authentication Negotiate value is required. |
141+
| ServerDiscovery | Domain/Standalone | Domain | Allow to set the DHCP servers discovery |
142+
| Exclude.Domains | Array List | Empty | Allow to filter on AD Domain FQDN |
143+
| Exclude.DCs | Array List | Empty | Allow to filter on AD Domain Controller Server FQDN. |
146144

147145
### InfoLevel
148146
The **InfoLevel** schema allows configuration of each section of the report at a granular level. The following sections can be set.
149147

150148
There are 3 levels (0-2) of detail granularity for each section as follows;
151149

152-
| Setting | InfoLevel | Description |
153-
|:-------:|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
154-
| 0 | Disabled | Does not collect or display any information |
155-
| 1 | Enabled / Summary | Provides summarised information for a collection of objects |
156-
| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects |
150+
| Setting | InfoLevel | Description |
151+
| :-----: | ----------------- | -------------------------------------------------------------------- |
152+
| 0 | Disabled | Does not collect or display any information |
153+
| 1 | Enabled / Summary | Provides summarised information for a collection of objects |
154+
| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects |
157155

158156
The table below outlines the default and maximum **InfoLevel** settings for each section.
159157

160-
| Sub-Schema | Default Setting | Maximum Setting |
161-
|--------------|:---------------:|:---------------:|
162-
| DHCP | 1 | 2 |
158+
| Sub-Schema | Default Setting | Maximum Setting |
159+
| ---------- | :-------------: | :-------------: |
160+
| DHCP | 1 | 2 |
163161

164162
### Healthcheck
165163
The **Healthcheck** schema is used to toggle health checks on or off.

Samples/Sample Microsoft DHCP As Built Report.html

Lines changed: 4193 additions & 738 deletions
Large diffs are not rendered by default.
-641 KB
Binary file not shown.

0 commit comments

Comments
 (0)