in the “KAgent.log” log file, it states what it is doing before every call to the temp_script.ps1 file:
[2020-12-09.03:45:07][KInventory:KLaunchClient::Launch] KLaunchClient::Launch()
[2020-12-09.03:45:07][KInventory:KLaunchClient::DumpSt] Launch State: Command="C:\Windows\SysNative\WindowsPowerShell\v1.0\powershell.exe" Arguments="-NonInteractive -file "C:\ProgramData\Quest\KACE\user\temp_script.ps1"" WorkingDir="" Timeout=3600000 ShouldDetach=0 ShowWindow=0 Redirect_stdout=1 Redirect_stderr=1 Desktop=winsta0\default Using Wait_Override=0
[2020-12-09.03:45:07][KInventory:KLaunchUtils::DoesTok] DoesTokenHaveLSAPriviledges returning: 1
[2020-12-09.03:45:21][KInventory:CCaptureInventory::Ex] KInventory Now gathering NetIPv6Interface information...
[2020-12-09.03:45:21][KInventory:KLaunchClient::Launch] KLaunchClient::Launch()
[2020-12-09.03:45:21][KInventory:KLaunchClient::DumpSt] Launch State: Command="C:\Windows\SysNative\WindowsPowerShell\v1.0\powershell.exe" Arguments="-NonInteractive -file "C:\ProgramData\Quest\KACE\user\temp_script.ps1"" WorkingDir="" Timeout=3600000 ShouldDetach=0 ShowWindow=0 Redirect_stdout=1 Redirect_stderr=1 Desktop=winsta0\default Using Wait_Override=0
[2020-12-09.03:45:21][KInventory:KLaunchUtils::DoesTok] DoesTokenHaveLSAPriviledges returning: 1
[2020-12-09.03:45:25][KInventory:CCaptureInventory::Ex] KInventory Now gathering EdgeVersion information...
[2020-12-09.03:45:25][KInventory:KLaunchClient::Launch] KLaunchClient::Launch()
[2020-12-09.03:45:25][KInventory:KLaunchClient::DumpSt] Launch State: Command="C:\Windows\SysNative\WindowsPowerShell\v1.0\powershell.exe" Arguments="-NonInteractive -file "C:\ProgramData\Quest\KACE\user\temp_script.ps1"" WorkingDir="" Timeout=3600000 ShouldDetach=0 ShowWindow=0 Redirect_stdout=1 Redirect_stderr=1 Desktop=winsta0\default Using Wait_Override=0
[2020-12-09.03:45:25][KInventory:KLaunchUtils::DoesTok] DoesTokenHaveLSAPriviledges returning: 1
[2020-12-09.03:45:26][KInventory:CCaptureInventory::Ex] KInventory Now gathering MDMDeviceID information...
[2020-12-09.03:45:26][KInventory:KLaunchClient::Launch] KLaunchClient::Launch()
[2020-12-09.03:45:26][KInventory:KLaunchClient::DumpSt] Launch State: Command="C:\Windows\SysNative\WindowsPowerShell\v1.0\powershell.exe" Arguments="-NonInteractive -file "C:\ProgramData\Quest\KACE\user\temp_script.ps1"" WorkingDir="" Timeout=3600000 ShouldDetach=0 ShowWindow=0 Redirect_stdout=1 Redirect_stderr=1 Desktop=winsta0\default Using Wait_Override=0
[2020-12-09.03:45:26][KInventory:KLaunchUtils::DoesTok] DoesTokenHaveLSAPriviledges returning: 1
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center