How to use PowerShell output in JavaScript -


i javascript use powershell output, in json format, can draw google data table.

i have tried using window.clipboarddata.getdata('text') doesn't seem answer i'm looking , reason settimeout() isn't working anymore. have tried event.datatransfer.getdata('text') received error

script5007: unable property 'getdata' of undefined or null reference.

i kind of don't having copy clipboard because powershell not take same amount of time finish executing every time. additionally, google portion of code responds error invalid json string though when manually pasted code, data table loaded perfectly. i'm running on ie11.

you can install http server (like apache or lighttpd) on computer , dump json output in .json file in http server directory.

then can make ajax http request retrieved file everytime need it.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -