Skip to content

Instantly share code, notes, and snippets.

Diom

  • Ireland
Block or report user

Report or block Diom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Diom
Diom / .ps1
Last active May 5, 2017
Powershell VBoxManage List USBHost Covert To Object Array
View .ps1
$allUsbDevs = vboxmanage list usbhost | Out-String | %{$_ -replace ':','=' } | %{$_ -split '(?=UUID)'} | ConvertFrom-StringData | where{ $_.UUID -ne $null }
$uuidToUse = vboxmanage list usbhost | Out-String | %{$_ -replace ':','=' } | %{$_ -split '(?=UUID)'} | ConvertFrom-StringData | where{ $_.Product -eq "USB DISK 2.0"} | %{$_.UUID}
You can’t perform that action at this time.