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

Add Invoke-JavaScript cmdlet to allow for JavaScript execution from PowerShell scripts #803

Closed
AdamNaj opened this Issue Jan 22, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@AdamNaj
Member

AdamNaj commented Jan 22, 2017

1..5 | %{ 
    Start-Sleep -Seconds 1; 
    Invoke-JavaScript -Script "console.log('Hello World! Call #$($_) from PowerShell...');" 
}

Invoke-JavaScript -Script "alert('hello from powershell');"

image

@AdamNaj AdamNaj added this to the 4.4 milestone Jan 22, 2017

@AdamNaj AdamNaj self-assigned this Jan 22, 2017

AdamNaj added a commit that referenced this issue Jan 22, 2017

@AdamNaj

This comment has been minimized.

Member

AdamNaj commented Jan 22, 2017

Implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment