VirtualBox

Changeset 53314 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Nov 12, 2014 5:02:37 PM (10 years ago)
Author:
vboxsync
Message:

Validation Kit: fix cleanup script GetEnumerator error which prevented a single invalid connection from being removed (#7231)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/win-vbox-net-uninstall.ps1

    r52776 r53314  
    120120
    121121#Write-Host ($connections | Out-String)
    122 $ghostcon = (Get-ChildItem ("HKLM\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}") | Where-Object { !$connections.ContainsKey($_.PSChildName) -and $_.PSChildName -ne "Descriptions" } )
     122$ghostcon = @(Get-ChildItem ("HKLM\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}") | Where-Object { !$connections.ContainsKey($_.PSChildName) -and $_.PSChildName -ne "Descriptions" } )
    123123if ($ghostcon -eq $null) {
    124124   Write-Host "`nNo ghost connections has been found -- nothing to do"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette