Create the PowerShell script:
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match 'Java 8' } ; $app.Uninstall()
Create the GPO: uninstall-java:
Computer Configuration > Policies > Windows Settings > Scripts > Startup
Create the PowerShell script:
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match 'Java 8' } ; $app.Uninstall()
Create the GPO: uninstall-java:
Computer Configuration > Policies > Windows Settings > Scripts > Startup