Skip to main content

Office Activation Status Audit

Summary​

Get activation information on any licensed Office products on the endpoint and save to xPVAL Office Activation Status.

Example Agent Procedure Log​

TimeProcedureStatusUser
12:48:57 pm 1-Feb-23Office Activation Status AuditSuccess THENprovaltech.com/dan.hicks
12:48:56 pm 1-Feb-23Office Activation Status Audit-0001Log: 2023-02-01 12:48:23 INIT ----------------------------------------------- 2023-02-01 12:48:23 INIT Get-OfficeActivationStatus 2023-02-01 12:48:23 INIT System: DEV 2023-02-01 12:48:23 INIT User: DEV$ 2023-02-01 12:48:23 INIT OS Bitness: AMD64 2023-02-01 12:48:23 INIT PowerShell Bitness: 64 2023-02-01 12:48:23 INIT PowerShell Version: 5 2023-02-01 12:48:23 INIT -----------------------------------------------provaltech.com/dan.hicks
12:48:56 pm 1-Feb-23Office Activation Status AuditRaw PS1 Data:provaltech.com/dan.hicks
12:48:56 pm 1-Feb-23Execute Powershell Command (64-bit, Run As System)Success THENprovaltech.com/dan.hicks
12:48:56 pm 1-Feb-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.provaltech.com/dan.hicks
12:48:56 pm 1-Feb-23Execute Powershell Command (64-bit, Run As System)-0016Informational: GetFile command overwrote the server file C:/Kaseya/UserProfiles/229175768944442/GetFiles/../docs/psoutput.txt with the new contents from c:/provaltech/psoutput.txt in THEN step 3.provaltech.com/dan.hicks
12:48:20 pm 1-Feb-23Execute Powershell Command (64-bit, Run As System)-0011Executing 64-bit Powershell command as System: "" -command "%ProgramData%/_automation/AgentProcedure/OfficeActivationAudit/Get-OfficeActivationStatus.ps1" >"c:/provaltech/psoutputtmp.txt"provaltech.com/dan.hicks
12:48:20 pm 1-Feb-23Execute Powershell Command (64-bit, Run As System)-0013Sending output to global variable.provaltech.com/dan.hicks
12:48:19 pm 1-Feb-23Execute Powershell Command (64-bit, Run As System)-0008Custom commands detected as %ProgramData%/_automation/AgentProcedure/OfficeActivationAudit/Get-OfficeActivationStatus.ps1provaltech.com/dan.hicks
12:48:19 pm 1-Feb-23Execute Powershell Command (64-bit, Run As System)-0003No Powershell file variable detected.provaltech.com/dan.hicks
12:48:16 pm 1-Feb-23Execute Powershell Command (64-bit, Run As System)-0002Powershell is present.provaltech.com/dan.hicks
12:44:27 pm 1-Feb-23Execute Powershell CommandSuccess THENprovaltech.com/dan.hicks
12:44:26 pm 1-Feb-23Execute Powershell Command-0011Powershell command completed!provaltech.com/dan.hicks
12:44:22 pm 1-Feb-23Execute Powershell Command-0011Executing Powershell "" -Command "New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name OfficeActivationAudit" ""provaltech.com/dan.hicks
12:44:22 pm 1-Feb-23Execute Powershell Command-0010Not sending output to variable.provaltech.com/dan.hicks
12:44:22 pm 1-Feb-23Execute Powershell Command-0008New command variable is: -Command "New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name OfficeActivationAudit"provaltech.com/dan.hicks
12:44:22 pm 1-Feb-23Execute Powershell Command-0008Custom commands detected as New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name OfficeActivationAuditprovaltech.com/dan.hicks
12:44:16 pm 1-Feb-23Execute Powershell Command-0002Powershell is present.provaltech.com/dan.hicks
12:44:05 pm 1-Feb-23Run Now - Office Activation Status AuditAdmin provaltech.com/dan.hicks scheduled procedure Run Now - Office Activation Status Audit to run at Feb 1 2023 12:44PM

Dependencies​

Process​

Runs Agnostic Powershell to perform the audit.

Output​

  • AP Log
  • xPVAL Office Activation Status CF

Changelog​

2025-04-10​

  • Initial version of the document