PowerShellMafia / PowerSploit

PowerSploit - A PowerShell Post-Exploitation Framework
Other
11.9k stars 4.61k forks source link

improve error handling in Get-NetLocalGroup #230

Closed firefart closed 7 years ago

firefart commented 7 years ago

Currently Get-NetLocalGroup when run with the -ComputerFile Parameter can throw a lot of errors but the error messages are missing the current computer name.

This change adds the following things:

HarmJ0y commented 7 years ago

Cool stuff, can you resubmit this to the dev branch? Thanks!

firefart commented 7 years ago

@HarmJ0y I changed the base branch on this to dev PR. Can you reopen it?