Last active
October 11, 2018 22:05
-
-
Save chaderoth/6e94268403fa80dca26571212cb6cd81 to your computer and use it in GitHub Desktop.
This file contains 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
Write-Host "Ejecting Media In Guest For "$VM.Parent.Name"" | |
Invoke-VMScript -ScriptText "eject" -ScriptType Bash -VM $VM.Parent.Name -GuestCredential $Creds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment