Skip to main content

HP Image Assistant - Deploy

Summary

This procedure deploys HP Image Assistant to the endpoint. The procedure downloads the software, extracts it, and then installs it.

Example Agent Procedure Log

TimeActionStatusUser
6:11:18 pm 4-Oct-23HP Image Assistant - DeploySuccess THENpronoc
6:11:18 pm 4-Oct-23HP Image Assistant - DeployHP Log Generation: C:/HPIApronoc
6:11:18 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)Success THENpronoc
6:11:18 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0016Powershell command complete. Results returned to global variable #global:psresult# and saved in Agent's Documents tab of server.pronoc
6:11:18 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0016Informational: GetFile command overwrote the server file C:/Kaseya/UserProfiles/411153734350743/GetFiles/../docs/psoutput.txt with the new contents from c:/ktemp/psoutput.txt in THEN step 3.pronoc
6:11:16 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0011Executing 64-bit Powershell command as System: "" -command "& & "C:/ProgramData/_automation/AgentProcedure/HPImageAssistant/HPImageAssistant.exe" /Operation:Analyze /Category:All /selection:All /action:download /silent /AutoCleanup /reportFolder:c:/HPIA/Report /softpaqdownloadfolder:"C:/Windows/temp" " >"c:/ktemp/psoutputtmp.txt"pronoc
6:11:16 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0013Sending output to global variable.pronoc
6:11:16 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0008Custom commands detected as & & "C:/ProgramData/_automation/AgentProcedure/HPImageAssistant/HPImageAssistant.exe" /Operation:Analyze /Category:All /selection:All /action:download /silent /AutoCleanup /reportFolder:c:/HPIA/Report /softpaqdownloadfolder:"C:/Windows/temp"pronoc
6:11:16 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0003No powershell file variable detected.pronoc
6:11:15 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0002Powershell is present.pronoc
6:11:14 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)Success THENpronoc
6:11:14 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0014Powershell command completed!pronoc
6:11:13 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0011Executing 64-bit Powershell command as System: "" -command "& & "C:/ProgramData/_automation/AgentProcedure/HPImageAssistant/HPImageAssistantBinary.exe" /s /e /f "C:/ProgramData/_automation/AgentProcedure/HPImageAssistant"" ""pronoc
6:11:13 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0013Not sending output to variable.pronoc
6:11:13 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0008Custom commands detected as & & "C:/ProgramData/_automation/AgentProcedure/HPImageAssistant/HPImageAssistantBinary.exe" /s /e /f "C:/ProgramData/_automation/AgentProcedure/HPImageAssistant"pronoc
6:11:13 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0003No powershell file variable detected.pronoc
6:11:12 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0002Powershell is present.pronoc
6:11:11 pm 4-Oct-23HP Image Assistant - DeployPerforming scan, update, and downloadpronoc
6:11:11 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)Success THENpronoc
6:11:11 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0014Powershell command completed!pronoc
6:11:06 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0011Executing 64-bit Powershell command as System: "" -command "Invoke-WebRequest -Uri https://hpia.hpcloud.hp.com/downloads/hpia/hp-hpia-5.1.11.exe -OutFile "%ProgramData%/_automation/AgentProcedure/HPImageAssistant/HPImageAssistantBinary.exe" -UseBasicParsing -Headers @\{'User-Agent'='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'}; Start-Process -FilePath "%ProgramData%/_automation/AgentProcedure/HPImageAssistant/HPImageAssistantBinary.exe" -ArgumentList "-s"" ""pronoc
6:11:06 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0013Not sending output to variable.pronoc
6:11:05 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0008Custom commands detected as Invoke-WebRequest -Uri https://hpia.hpcloud.hp.com/downloads/hpia/hp-hpia-5.1.11.exe -OutFile "%ProgramData%/_automation/AgentProcedure/HPImageAssistant/HPImageAssistantBinary.exe" -UseBasicParsing -Headers @\{'User-Agent'='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'}; Start-Process -FilePath "%ProgramData%/_automation/AgentProcedure/HPImageAssistant/HPImageAssistantBinary.exe" -ArgumentList "-s"pronoc
6:11:05 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0003No powershell file variable detected.pronoc
6:11:04 pm 4-Oct-23Execute Powershell Command (64-bit, Run As System)-0002Powershell is present.pronoc
6:11:04 pm 4-Oct-23HP Image Assistant - DeployDeploying HP Image Assistantpronoc
6:11:04 pm 4-Oct-23Execute Powershell CommandSuccess THENpronoc
6:11:04 pm 4-Oct-23Execute Powershell Command-0011Powershell command completed!pronoc
6:11:01 pm 4-Oct-23Execute Powershell Command-0011Executing powershell "" -Command "New-Item -Type Directory -Path %ProgramData%/_automation/AgentProcedure -Name HPImageAssistant" ""pronoc
6:11:01 pm 4-Oct-23Execute Powershell Command-0010Not sending output to variable.pronoc
6:11:01 pm 4-Oct-23Execute Powershell Command-0008New command variable is: -Command "New-Item -Type Directory -Path %ProgramData%/_automation/AgentProcedure -Name HPImageAssistant"pronoc
6:11:01 pm 4-Oct-23Execute Powershell Command-0008Custom commands detected as New-Item -Type Directory -Path %ProgramData%/_automation/AgentProcedure -Name HPImageAssistantpronoc
6:10:59 pm 4-Oct-23Execute Powershell Command-0002Powershell is present.pronoc
6:10:52 pm 4-Oct-23Run Now - HP Image Assistant - DeployAdmin pronoc scheduled procedure Run Now - HP Image Assistant - Deploy to run at Oct 4 2023 7:10 PMpronoc

Output

Agent Procedure Log
C:/HPIA

Image

Line 10 is where the HP commands are customized.
Available Commands (Starting at page 20): HPIA User Guide
The procedure is set to a default of: /Operation:Analyze /Category:All /selection:All /action:download /silent /AutoCleanup /reportFolder:c:/HPIA/Report /softpaqdownloadfolder:"C:/Windows/temp"