Skip to content

Invoke-SnmpWalk: accept IPv6 TargetIP #73

Closed

Description

@jacobyoby

Context

Invoke-SnmpWalk TargetIP ValidateScript is IPv4-only, so dual-stack SNMP targets fail before the walk runs — blocking post-#56/#57 IPv6 neighbors.

Tip: c47f0a1.

What

  • Accept IPv4 and IPv6 literals for TargetIP (same normalization spirit as inventory helpers if present).
  • Keep failure mode clear on garbage input.
  • Pester: IPv6 TargetIP accepted (mock/skip live SNMP); IPv4 still works; invalid rejected.

Acceptance criteria

  • IPv6 TargetIP passes validation
  • Existing IPv4 callers unchanged
  • Pester regression for IPv6 TargetIP acceptance

Out of scope

Credential-map IPv6 CIDR keys (separate). Live SNMP integration tests.

Related

Owl cycle 2 P0#2 + Pester fold.

Activity

  1. added a commit that references this issue on Sep 9, 2026
    908af22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions