Skip to content

Resolve-DbaNetworName is not working properly in PS6.0+ #4840

@nvarscar

Description

@nvarscar

Before submitting a bug report:

  • Ensure you are able to reproduce it on the latest released version (we release often)
  • Verified this bug is not already reported in an issue
  • Verified errors are not related to permissions
  • Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Steps to Reproduce

$t = Resolve-DbaNetworName -ComputerName computer -Verbose

image

image

Expected Behavior

Normal mode with CIM/PSRemoting hostname verifications.
No extra output.

Actual Behavior

Turbo mode (due to different parameter set in PS6.0 version of Test-Connection).
Ping results show up on the screen.

Environmental data

  • PowerShell:
    PSVersion 6.1.0
    PSEdition Core
    GitCommitId 6.1.0
    OS Microsoft Windows 10.0.15063
    Platform Win32NT
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    PSRemotingProtocolVersion 2.3
    SerializationVersion 1.1.0.1
    WSManStackVersion 3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions