Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link speed for windows network fingerprinting #1443

Merged
merged 2 commits into from
Jul 22, 2016
Merged

Link speed for windows network fingerprinting #1443

merged 2 commits into from
Jul 22, 2016

Conversation

mwieczorek
Copy link
Contributor

On windows it's always set to default 100Mbps
I think we can use standard powershell cmdlts to get the link speed
Let me know what you think.

@diptanu
Copy link
Contributor

diptanu commented Jul 20, 2016

@mwieczorek Did you test this on Windows 8 and 10?

@mwieczorek
Copy link
Contributor Author

Yes. On Windows 8.1, 10, and Windows Server 2016 TP5

return 0
}

output := strings.TrimSpace(string(outBytes))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would pull everything from here down into a parse method and then unit test this method.

@dadgar
Copy link
Contributor

dadgar commented Jul 20, 2016

LGTM

@dadgar dadgar merged commit 6e0a25a into hashicorp:master Jul 22, 2016
@mwieczorek mwieczorek deleted the windows-network-linkspeed branch July 27, 2016 22:07
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants