14-02-2018, 17:09
Although I like the idea of creating these Tickets, we chose to use the UDF in Autotask for this, and I think above is for PSA and not AEM/RMM.
We do not use PSA yet.
For AEM we created a component as batch-script with the following code:
========================
:: ScanCircle version 1.41.2 mandatory
::
:: The first three letters of our Site names are index numbers refering to the customers name and the site
:: Create reference with these first three Site index nummer and its hostname
SET Reference=%CS_PROFILE_NAME:~0,3%--%computername%
:: Run ScanCircle piping the outcome which is the scan-url since version 1.41.2
:: do -skip uac as UAC is not set for system account
ScanCircle4.exe -language nl -partner <your partner code> -reference %Reference% -scanmode R -hidden -skip security.status.uac >ScanCircle.log
:: Read log file and put the content in UDF8 variable
SET /p UDF8=<ScanCircle.log
:: Use UDF8 variable to enter content in registry set to be picked up
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\CentraStage /v Custom8 /t REG_SZ /d "%UDF8%" /f
========================
This way if an engineer needs to see the last scan, he can simply copy/past the url of UDF8 and look at the scan without logging in at ScanCircle
We do not use PSA yet.
For AEM we created a component as batch-script with the following code:
========================
:: ScanCircle version 1.41.2 mandatory
::
:: The first three letters of our Site names are index numbers refering to the customers name and the site
:: Create reference with these first three Site index nummer and its hostname
SET Reference=%CS_PROFILE_NAME:~0,3%--%computername%
:: Run ScanCircle piping the outcome which is the scan-url since version 1.41.2
:: do -skip uac as UAC is not set for system account
ScanCircle4.exe -language nl -partner <your partner code> -reference %Reference% -scanmode R -hidden -skip security.status.uac >ScanCircle.log
:: Read log file and put the content in UDF8 variable
SET /p UDF8=<ScanCircle.log
:: Use UDF8 variable to enter content in registry set to be picked up
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\CentraStage /v Custom8 /t REG_SZ /d "%UDF8%" /f
========================
This way if an engineer needs to see the last scan, he can simply copy/past the url of UDF8 and look at the scan without logging in at ScanCircle