EvotecIT / Testimo

Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
MIT License
526 stars 58 forks source link

ForestSubnets errors out on IPV6 (requires exclude) #123

Closed PrzemyslawKlys closed 3 years ago

PrzemyslawKlys commented 3 years ago

Requires excluding of IPV6

=============================================================================
Get-WinADForestSubnet -VerifyOverlap -Forest doman -Verbose
WARNING: Invalid IP detected: '2a0:0::'.
WARNING: Convert-BinaryToIP - Binary string '11111111111111111111111111111111111111111111' is not evenly divisible by
8.
Get-IPAddressRangeInformation : You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\ADEssentials\0.0.123\ADEssentials.psm1:2255 char:9
+         Get-IPAddressRangeInformation -CIDRObject $Address
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-IPAddressRangeInformation], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull,Get-IPAddressRangeInformation
=============================================================================