The README.md and the inline comment documentation in PowerHuntShares.psm1
both reference -HostFile, but the actual parameter name implemented
in the code is -HostList.
Steps to reproduce:
(Get-Command Invoke-HuntSMBShares).Parameters.Keys
→ Returns "HostList", not "HostFile"
Affected locations:
- README.md, Example 3
- PowerHuntShares.psm1, .PARAMETER HostFile (comment block)
- PowerHuntShares.psm1, example in comment block
Suggested fix: replace all occurrences of "HostFile" with "HostList"
in the documentation.
The README.md and the inline comment documentation in PowerHuntShares.psm1
both reference -HostFile, but the actual parameter name implemented
in the code is -HostList.
Steps to reproduce:
(Get-Command Invoke-HuntSMBShares).Parameters.Keys
→ Returns "HostList", not "HostFile"
Affected locations:
Suggested fix: replace all occurrences of "HostFile" with "HostList"
in the documentation.