PowerShellEmpire/PowerTools

Error on loading module

dmchell opened this issue · 0 comments

PS C:\Temp\temppowertools\PowerTools\PowerView> Import-Module .\powerview.psm1
You must provide a value expression on the right-hand side of the '-' operator.
At C:\Temp\temppowertools\PowerTools\PowerView\powerview.ps1:10613 char:72

  • $groups = Get-NetGroups -Domain $Domain | Where-Object { -not ($_ - <<<<
    
    in $ExcludeGroups) }
    • CategoryInfo : ParserError: (:) [], ParseException
    • FullyQualifiedErrorId : ExpectedValueExpression