
MarkWalther asked a question.
Sorry if the answer to this question seems easy or obvious, but I can't find an answer. And maybe I should know the answer by now.
I see a lot of Agent scripts being released. Obviously, I don't need a particular script if we don't use that software. What is the harm of just adding them all to the agent, just in case? More time for the agent to process is probably the main reason right?
And what do running those scripts give me that agent scan otherwise would not?
I am getting ready to request the latest agent version 7.0.0 and want to get it right the first time.
Thank you.
Hi Mark,
the snow-ps1 scripts Snow Softwarfe provided all the years improved the recognition of the respective applications, e.g. better recognition of SQL Server Editions or Windows licensing status.
With Windows agent 7.0 these scripts are no longer encrypted, yet still signed.
You will find in most scripts, that the focus is on reading registry entries or executing WMI queries.
So yes, the downturn of adding all scripts to the agent directory will be a longer agent execution time and probably some warnings in the logs, as some values could not be found.
Nothings else that I could see in my environments.
Kind regards, Axel
That is a very good question, Mark! Some of the scripts have small impact (cpu, memory, network), but I know that other scripts (especially Oracle middleware) have had a major impact - to the extent that we could not deploy with those specific PowerShell scripts.
I remember back from when I studied algorithms that you could write that a specific algorithm had different characteristics (if the runtime was linear, logarithmic, or whatever - and which parameters that affected the runtime).
I think it would be beneficial if Snow documented this on docs.snowsoftware.com. I'll write a suggestion on the IDEAS board!
EDIT: added IDEAS-I-2534
Hi Mark
Very good question. I have reduced the number of ps scripts on non-servers because the running time was around 2 minutes. (the old client could scan in about 30 sec)
Now scan time is around 1:30
I found some good videos giving information about the scripts. This is just for Atlas users, but even with on-premise installation I liked the information.
https://docs.snowsoftware.io/technical-videos/snow-atlas/package-builder/
(I have asked if on-premise users could use the package builder, but this was not possible.)
regards Simon