{"id":24649120,"url":"https://github.com/ow2-proactive/scriptengine-powershell","last_synced_at":"2026-03-01T13:03:22.011Z","repository":{"id":32152053,"uuid":"35725075","full_name":"ow2-proactive/scriptengine-powershell","owner":"ow2-proactive","description":"PowerShell script engine for Java","archived":false,"fork":false,"pushed_at":"2023-09-06T15:37:46.000Z","size":701,"stargazers_count":1,"open_issues_count":1,"forks_count":4,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-05-13T12:56:29.653Z","etag":null,"topics":["powershell","script-engine","scriptengine-powershell"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ow2-proactive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-05-16T13:38:53.000Z","updated_at":"2023-09-06T15:37:52.000Z","dependencies_parsed_at":"2025-05-13T11:15:14.040Z","dependency_job_id":null,"html_url":"https://github.com/ow2-proactive/scriptengine-powershell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ow2-proactive/scriptengine-powershell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ow2-proactive%2Fscriptengine-powershell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ow2-proactive%2Fscriptengine-powershell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ow2-proactive%2Fscriptengine-powershell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ow2-proactive%2Fscriptengine-powershell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ow2-proactive","download_url":"https://codeload.github.com/ow2-proactive/scriptengine-powershell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ow2-proactive%2Fscriptengine-powershell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29969700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T12:56:10.327Z","status":"ssl_error","status_checked_at":"2026-03-01T12:55:24.744Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powershell","script-engine","scriptengine-powershell"],"created_at":"2025-01-25T17:15:49.472Z","updated_at":"2026-03-01T13:03:21.998Z","avatar_url":"https://github.com/ow2-proactive.png","language":"C#","readme":"# scriptengine-powershell\n\nPowerShell script engine for Java implementing JSR 223\n\n## Requirements\n\n* .NET 4\n* Windows Management Framework 3.0\n\n## Usage\n\nSimply add the JAR and DLLs to your classpath and follow the [Java Scripting Programmer's guide](http://docs.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html)\n\n## Build\n\nRun gradlew script, it produces JARs and DDLs in build/install\n\n## How it works\n\nIt uses [jni4net](https://github.com/jni4net/jni4net) to call the PowerShell API.\n\n### Bindings\n\nScript bindings are exported in the PowerShell engine before running the script.\n\nPowerShell supported types are: string, char, byte, int, long, bool, double, array, hashtable.\n\nJava List are mapped to PowerShell array.\nJava Map are mapped to PowerShell hashtable.\n\nThe following types are NOT supported: single decimal datetime xml.\n\nTo pass arguments/parameters to a PowerShell ($args), you can set a binding called args.\n\n### Script Result\n\nResults produced by return or Write-Output are retrieved and converted back to Java.\n\n### To update jni4net bindings\n\n* Look at the `utils.proxygen.xml` file. It defines what proxies will be generated.\n* Run `generateProxies.cmd`, it will generate\n    * Java proxies of .NET classes\n    * and C# codebe-hind classes\n* Now you need to compile codebe-hind classes into assembly.\n    * Start Visual Studio,\n    * open `utils.csproj`\n    * eventually add newly generated files to the project\n    * compile it\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fow2-proactive%2Fscriptengine-powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fow2-proactive%2Fscriptengine-powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fow2-proactive%2Fscriptengine-powershell/lists"}