AsBuiltReport / AsBuiltReport.Microsoft.Windows

Repository for AsBuiltReport Microsoft Windows module
MIT License
29 stars 12 forks source link

Unable to discover Forest information from FQDN OF DHCP Server #40

Closed JPG58 closed 6 days ago

JPG58 commented 1 week ago

Bug description

When I run the script to document my DHCP server I get the error:

New-AsBuiltReport : Unable to discover Forest information from "DHCPServername"

Tried to run the standalone version with the same error. Its Server 2022

Command-line input

New-AsBuiltReport -Report Microsoft.DHCP -Target 'DHCP-01.domain.com.au' -Format Text,Html,Word -OutputFolderPath C:\scratch\Reports -Verbose

Steps to reproduce

Run the command as above, it fails with New-AsBuiltReport : Unable to discover Forest information from "DHCPServername"

Running as domain admin.

Expected behaviour

a successful as built report

Screenshots

No response

Operating System

Server 2022

PowerShell Version

5.1

PowerShell Modules

AsBuiltReport.Core 1.4.0
PScribo 0.10.0

Additional Context

No response

Before submitting

JPG58 commented 1 week ago

All fixed was a permission issue