Skip to content

Tag: powershell

Java MSI silent installer

Hello i’m having issues with this line of code I been working on, for some reason is not working anymore I’m trying to invoke the MSI installer silently and wait till it’s done so I can execute next line of code I had it working but now is not, I tried executing start-process and using the -…

Vs code terminal issue

When I tried to run java code in visual studio code, the terminal is throwing an error PowerShell terminated with exit code:4294901760 I have searched all queries but nothing is relatable. Answer You need to install java in VS-Code. To do so you can just search “java” in the extensions search bar.…

Powershell is always using wrong Java

As far as i know you can use every Java version when you are just in the right directory. Lets say i have on my PC Java 8 and Java 15. They are both located in C:Program Filesjava. So when i go in C:Program Filesjavajre1.8.0_291bin and run in cmd java.exe -version i get the version 1.8 . The same goes

Powershell install Java silently

I need to install new Java update silently. I have these arguments for installation: and I tried: and also: and both version has prompt dialog. How to install it silently? Answer I found solution in cmdLet Execute-Process via this script. Works fine! And calling it: