Skip to main content

Onboarding Audit

Summary

Runs VSA - Kaseya - Agnostic - Get-VSAAuditReports and places the reports into getFiles.

Example Agent Procedure Log

TimeProcedureStatusUser
11:17:59 am 2-Nov-22Onboarding AuditSuccess THENprovaltech.com/dan.hicks
11:17:59 am 2-Nov-22Onboarding Audit-0001Audit Completed. Audit Summary can be found in GetFiles. Individual CSV data can be found on the VSA Server in %ProgramData%/_automation/StackContent/ProvalTechnologies/audit/CSVs.provaltech.com/dan.hicks
11:17:58 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)Success THENprovaltech.com/dan.hicks
11:17:58 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)-0016Powershell command complete. Results returned to global variable #global:psresult# and saved in Agent's Documents tab.provaltech.com/dan.hicks
11:17:58 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)-0016Informational: GetFile command overwrote the server file C:/Kaseya/UserProfiles/702535277139695/GetFiles/../docs/psoutput.txt with the new contents from c:/provaltech/psoutput.txt in THEN step 3.provaltech.com/dan.hicks
11:17:09 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)-0011Executing 64-bit Powershell command as User: "" -command "%ProgramData%/_automation/StackContent/ProvalTechnologies/audit/Get-VsaAuditReports.ps1 -BaseURL https://vsa.provaltech.com -ClientName ProvalTechnologies -VsaUserName dantestapi -RestApiToken 09f24c36-4091-46a3-9f53-7bfc87303b6d -DataWareHouseApiToken 159cf24f-918b-4149-b9d7-62d8e0fffe72" >"c:/provaltech/psoutputtmp.txt"provaltech.com/dan.hicks
11:17:09 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)-0013Sending output to global variable.provaltech.com/dan.hicks
11:17:09 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)-0008Custom commands detected as %ProgramData%/_automation/StackContent/ProvalTechnologies/audit/Get-VsaAuditReports.ps1 -BaseURL https://vsa.provaltech.com -ClientName ProvalTechnologies -VsaUserName dantestapi -RestApiToken 09f24c36-4091-46a3-9f53-7bfc87303b6d -DataWareHouseApiToken 159cf24f-918b-4149-b9d7-62d8e0fffe72provaltech.com/dan.hicks
11:17:08 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)-0003No powershell file variable detected.provaltech.com/dan.hicks
11:17:08 am 2-Nov-22Execute Powershell Command (64-bit, Run As User)-0002Powershell is present.provaltech.com/dan.hicks
11:17:07 am 2-Nov-22Execute Powershell CommandSuccess THENprovaltech.com/dan.hicks
11:17:07 am 2-Nov-22Execute Powershell Command-0011Powershell command completed!provaltech.com/dan.hicks
11:17:06 am 2-Nov-22Execute Powershell Command-0011Executing powershell "" -Command "New-Item -Type Directory -Path %ProgramData%/_automation/StackContent/ProvalTechnologies -Name audit -ErrorAction SilentlyContinue" ""provaltech.com/dan.hicks
11:17:06 am 2-Nov-22Execute Powershell Command-0010Not sending output to variable.provaltech.com/dan.hicks
11:17:06 am 2-Nov-22Execute Powershell Command-0008New command variable is: -Command "New-Item -Type Directory -Path %ProgramData%/_automation/StackContent/ProvalTechnologies -Name audit -ErrorAction SilentlyContinue"provaltech.com/dan.hicks
11:17:06 am 2-Nov-22Execute Powershell Command-0008Custom commands detected as New-Item -Type Directory -Path %ProgramData%/_automation/StackContent/ProvalTechnologies -Name audit -ErrorAction SilentlyContinueprovaltech.com/dan.hicks
11:17:05 am 2-Nov-22Execute Powershell Command-0002Powershell is present.provaltech.com/dan.hicks
11:16:58 am 2-Nov-22Run Now - Onboarding AuditAdmin provaltech.com/dan.hicks scheduled procedure Run Now - Onboarding Audit to run at Nov 2 2022 11:16 AM

Dependencies

VSA - Kaseya - Agnostic - Get-VSAAuditReports and all associated requirements. See linked documentation for more details.

Process

  • Gathers information from the user at run time
  • Provides information to the ps1 as parameters
  • Places generated report into getFiles

Output

  • AP Log
  • getFiles: StackContent/Audits/#ClientName#/AuditReport.xlsx