Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VMKeystrokes.ps1 #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update VMKeystrokes.ps1 #93

wants to merge 1 commit into from

Conversation

mtelvers
Copy link

Update VMKeystrokes.ps1 to allow a full range of modifiers such as alt-f4 and control-alt-delete. The syntax is now similar to Windows Script Host's SendKeys.

.DESCRIPTION
This function sends a series of character keystrokse to a particular VM
.PARAMETER VMName
The name of a VM to send keystrokes to
.PARAMETER StringInput
The string of characters to send to VM
The string of tokens to send to the VM
.PARAMETER DebugOn

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to not have this variable and just use Write-Debug

@@ -158,77 +301,54 @@
return

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe Write-Error instead?

@tvarohohlavy
Copy link

Except my comments I really love this : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants