sense-of-security / ADRecon

ADRecon is a tool which gathers information about the Active Directory and generates a report which can provide a holistic picture of the current state of the target AD environment.
https://senseofsecurity.com.au/
GNU Affero General Public License v3.0
1.7k stars 279 forks source link

Multiple ambiguous overloads found for "Split" #3

Closed CaledoniaProject closed 6 years ago

CaledoniaProject commented 6 years ago

While running ADRecon on windows 7 + powershell 2.0 I saw this error

Multiple ambiguous overloads found for "Split" and the argument count: "2".
At C:\123\ADRecon-master\ADRecon.ps1:4879 char:117
+                 $Obj | Add-Member -MemberType NoteProperty -Name Name -Value
([System.String]::Join(" ", $name.Split <<<< ([System.String[]]$null, [System.S
tringSplitOptions]::RemoveEmptyEntries)))
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest

Multiple ambiguous overloads found for "Split" and the argument count: "2".
At C:\123\ADRecon-master\ADRecon.ps1:4879 char:117
+                 $Obj | Add-Member -MemberType NoteProperty -Name Name -Value
([System.String]::Join(" ", $name.Split <<<< ([System.String[]]$null, [System.S
tringSplitOptions]::RemoveEmptyEntries)))
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest
prashant3535 commented 6 years ago

Hi, Can you please confirm this commit solves the issue for you ?

CaledoniaProject commented 6 years ago

Yep