Skip to content

Documentation bug: -HostFile parameter in README should be -HostList #26

Description

@DimitriNGAPGUE

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions