Open sokatra opened 4 years ago
Hi @sokatra ,
Indeed having the possibility to manage custom executed powershell script could be a nice addition.
Regards, Gilles Dubois.
Hi @sokatra,
To keep you up to date we are currently working on the subject, however we need to be really cautious on this matter since it can lead to several security issue if not managed correctly.
Regards, Gilles Dubois.
Is your feature request related to a problem? Please describe. i often need to scan specific computers for files, eventlogs, and so forth Right now i create a powershell or a commands script which writes the output to a fileshare. For example i had a script which scans for local administrators and writes out all the members of the local admin group to a fileshare. Then i open all the files in Notepadd++ and search for a specific result. Right now it is only possible to get error codes back to OCS-Inventory.
Describe the solution you'd like What i need is something like a "powershell or cmd" plugin which writes the output back to the central OCS-Inventory and filter the result. The Commands should be user configurable. OCS_Inventory should just receive the results(the powershell result database objects) later it should be possible to create a dynamic group out of the results.
something like this Introduction to the PowerShell Scanner in PDQ Inventory https://www.youtube.com/watch?v=brP2pihbfLE https://github.com/pdq/PowerShell-Scanners/tree/master/PowerShell%20Scanners
Describe alternatives you've considered