Question: #Step 1: # Write the PowerShell syntax to install Java 32bit and 64bit # You will write two separate commands; one to install the 32bit
#Step 1: # Write the PowerShell syntax to install Java 32bit and 64bit # You will write two separate commands; one to install the 32bit and another to install the 64bit # Use the cmdlet "Start-Process" to accomplish the installations # The required argument needed by the Java installer to install silently is "INSTALL_SILENT=Enable" # Make each command wait until the installation is completed before processing the next command #Step 2: # Write the PowerShell syntax to verify that Java 32bit and 64bit are installed # Use either Get-WmiObject or Get-CimInstance with the class "Win32_Product" to obtain all installed software # Pipe the results of the Get-WmiObject or Get-CimInstance cmdlet to Where-Object and filter for software named Java #Step 3: # Write the PowerShell syntax to install Java 32bit and 64bit on remote computers listed in the file ComputerNames.txt using Invoke-Command # Also write the PowerShell syntax to verify that Java 32bit and 64bit are installed on the remote computers #Step 4: # You will eventually have to update Java on all computers, before doing so, it is best practice to uninstall the old version(s) first # Write the PowerShell syntax to uninstall Java 32bit and 64bit on the local computer # Once you have completed the uninstall, write the PowerShell syntax to verify that the software is no longer installed #Step 5: # Write the PowerShell syntax to uninstall Java 32bit and 64bit on remote computers listed in the file ComputerNames.txt #Step 6: # Once you have completed the uninstall of Java on the remote computer, write the PowerShell syntax to verify that the software # is no longer installed on the Remote Computer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
