Created
October 25, 2016 20:00
-
-
Save MattHodge/9e7d50714bda3ca6b9f02fe0f5b9e166 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($env:install_vbox_tools -eq $true) | |
{ | |
Write-Host "Installing Virtualbox Guest Additions" | |
certutil -addstore -f "TrustedPublisher" E:\cert\oracle-vbox.cer | |
Start-Process -FilePath "E:\VBoxWindowsAdditions.exe" -ArgumentList "/S" -Wait | |
} | |
else | |
{ | |
Write-Host "Skipping installation of Virtualbox Guest Additions" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment