Hi
I'm using powershell OOTB powerhell component monitor.
Im tying to execute very simple sql query with invoke-sqlcmd (sqlserver module). I put the modules file in all relevant directories.
Also I've configured a dedicated user, with permisions, and tested it from the powershell console itself .
Now, I know it should work acording to the following article
But I still getting an error. like the script engine of solwarwinds is not familiar with the module. see image for the error, and then image of the script.
Thanks for your help

