Due to security requirements, we need to upgrade java 8, 11, and 17, every month on 100s of servers running Windows 2012, 2016, and 2019. We are trying to automate the process using PowerShell.
- Best : a single PowerShell command to download, then install or upgrade java, and then setup JAVA_HOME, and then Add to System Path.
- Second Best: vanity URL for that downloads the latest msi file for java 8, 11, and 17
Due to security requirements, we need to upgrade java 8, 11, and 17, every month on 100s of servers running Windows 2012, 2016, and 2019. We are trying to automate the process using PowerShell.