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

Exception Error #4

Open
sureshkrishnan83 opened this issue Dec 29, 2020 · 0 comments
Open

Exception Error #4

sureshkrishnan83 opened this issue Dec 29, 2020 · 0 comments

Comments

@sureshkrishnan83
Copy link

I am facing below issue while running get-netstat command . Running powershell version 7 on Mac. Not sure if I am doing something wrong. Thanks.

PS /Users/sureshkrishnan> Get-NetStat
MethodInvocationException: /Users/sureshkrishnan/.local/share/powershell/Modules/GetNetStat/1.0/GetNetStat.psm1:536
Line |
536 | if (!$UDP) { [Netstat]::GetTCP() }
| ~~~~~~~~~~~~~~~~~~~
| Exception calling "GetTCP" with "0" argument(s): "Value cannot be null. (Parameter 'path1')"

MethodInvocationException: /Users/sureshkrishnan/.local/share/powershell/Modules/GetNetStat/1.0/GetNetStat.psm1:537
Line |
537 | if (!$TCP) { [Netstat]::GetUDP() }
| ~~~~~~~~~~~~~~~~~~~
| Exception calling "GetUDP" with "0" argument(s): "Value cannot be null. (Parameter 'path1')"

Name Value


PSVersion 7.1.0
PSEdition Core
GitCommitId 7.1.0
OS Darwin 19.6.0 Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant