We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To workaround: check REG setting first at the four script locations calling Get-NetAdapterStatistics
$AnyConnectKey = "HKLM:\SYSTEM\CurrentControlSet\Services\vpnagent" if (-Not (Test-Path $AnyConnectKey)) { if ($Global:noNetAdapters -ne $true) { $file = "Get-NetAdapterStatistics.txt" [String []] $cmds = "Get-NetAdapterStatistics -IncludeHidden | Sort-Object InterfaceDescription | Format-Table -Autosize | Out-String -Width $columns", "Get-NetAdapterStatistics -IncludeHidden | Sort-Object InterfaceDescription | Format-Table -Property * -Autosize | Out-String -Width $columns" ExecCommandsAsync -OutDir $dir -File $file -Commands $cmds } }
The text was updated successfully, but these errors were encountered:
We probably need some timeout mechanism to prevent this and similar issues.
Sorry, something went wrong.
Info on root cause: the related LTE OS bug is here: https://microsoft.visualstudio.com/DefaultCollection/OS/_workitems/edit/27692990 Get-NetAdapterStatistics cmdlet causes infinite loop in WmiPrvSE.exe if the device has LTE (Wwan) modem.
Fixed, but with a global timeout instead: #61
No branches or pull requests
To workaround: check REG setting first at the four script locations calling Get-NetAdapterStatistics
$AnyConnectKey = "HKLM:\SYSTEM\CurrentControlSet\Services\vpnagent"
if (-Not (Test-Path $AnyConnectKey))
{
if ($Global:noNetAdapters -ne $true) {
$file = "Get-NetAdapterStatistics.txt"
[String []] $cmds = "Get-NetAdapterStatistics -IncludeHidden | Sort-Object InterfaceDescription | Format-Table -Autosize | Out-String -Width $columns",
"Get-NetAdapterStatistics -IncludeHidden | Sort-Object InterfaceDescription | Format-Table -Property * -Autosize | Out-String -Width $columns"
ExecCommandsAsync -OutDir $dir -File $file -Commands $cmds
}
}
The text was updated successfully, but these errors were encountered: