views:

37

answers:

1

Reading through the documentation for powershells add-type it seems you can add JScript code to you powershell session.

Firstly is there a decent example of how this is done and secondly can you use this to validate normal javascript code (as I understand JScript is the MS implementation)

+1  A: 

This may be a good starting point

PowerShell ABC's - J is for JavaScript

Doug Finke
Thanks that was almost spot on
RC1140