Skip to content

Instantly share code, notes, and snippets.

@1951FDG
Last active May 15, 2018 12:24
Show Gist options
  • Save 1951FDG/e5d659a8f72c960842ab05ab24c0a946 to your computer and use it in GitHub Desktop.
Save 1951FDG/e5d659a8f72c960842ab05ab24c0a946 to your computer and use it in GitHub Desktop.
#!/bin/bash
## declare an array variable
declare -a arr=("IE8 - Win7" "IE9 - Win7" "IE10 - Win7" "IE11 - Win7" "IE11 - Win8.1" "MSEdge - Win10TH2")
## now loop through the above array
for i in "${arr[@]}"
do
VBoxManage setextradata "$i" GUI/LastCloseAction
VBoxManage setextradata "$i" GUI/LastGuestSizeHint
VBoxManage setextradata "$i" GUI/LastNormalWindowPosition
VBoxManage setextradata "$i" GUI/RestrictedRuntimeDevicesMenuActions
VBoxManage setextradata "$i" GUI/RestrictedRuntimeMachineMenuActions
VBoxManage setextradata "$i" GUI/ScaleFactor
VBoxManage setextradata "$i" GUI/StatusBar/IndicatorOrder
VBoxManage getextradata "$i" enumerate
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment