Loading
Is there a guide, directions, or detail on the suggested/expected patterns to be used in the PowerShell Custom scripts?

I've perfected the PS commands that yield the desired information, which in this case is the physical Harddrive's Name, SerialNumber and Tags. I've tested the PS1 script as well as the encrypted version which does pipe the desired information to the cmdline; however, when I review the logs it presents a 'PowerShell exited with error code 6'.

 

I suspect, that the results the agent is expecting are:

(1) Data (nVarchar),

(2) ModifiedTime(Datetime2),

(3) Name(nVarchar),

(4) RegKey(nVarchar),

(5)Type (int).

 

But I'm unsure how to actually declare those. Does anyone know? Maybe @Oliver Berger​  or @Detlev Eufinger​ @Ester_locked Memoli(Retired)​ ?

 

If Snow can provide me with the pattern or expected outputs that agent can use, I will offer to compose a guide for the community to use as well as share materials :)


Loading
Is there a guide, directions, or detail on the suggested/expected patterns to be used in the PowerShell Custom scripts?