File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ ForEach ($Computer in $AllComputers)
3939 $args = " /i " + $path_to_install + " /quiet /qn /l*v C:\Temp\SCOMAgentInstall.log " + $args
4040 # Install Ops Manager Agent
4141 Time- Stamp
42- Write-Host " `t - Installing MOMAgent.msi" - ForegroundColor Cyan - NoNewLine
42+ Write-Host " `t - Installing MOMAgent.msi" - ForegroundColor Cyan
4343 start-process - FilePath " msiexec.exe" - ArgumentList $args - Wait - ErrorAction Stop
4444
4545 sleep 1
@@ -54,7 +54,7 @@ ForEach ($Computer in $AllComputers)
5454 $path_to_install = ' C:\Temp\KB4580254-amd64-Agent.msp'
5555 $msiArgs = " /update `" $path_to_install `" /quiet"
5656 Time- Stamp
57- Write-Host " `t - Installing Agent Update Rollup" - ForegroundColor Cyan - NoNewLine
57+ Write-Host " `t - Installing Agent Update Rollup" - ForegroundColor Cyan
5858 Start-Process - FilePath msiexec - ArgumentList $msiArgs - Wait - ErrorAction Stop
5959 Time- Stamp
6060 Write-Host " `t -- Complete!" - ForegroundColor Green
You can’t perform that action at this time.
0 commit comments