How to create a Powershell Datasource? Getting Commands not recognized
Hi,
I don't know how to create my own datasources so I'm trying to figure this out. I'm running a script on a Hyper-V Host server but get errors that the commands are not found. The script works fine when I run it directly on the host. It just doesn't run when I run it from testing within my DataSource.
When LM runs the PowerShell script, does it run it on the end-host computer or does it run it from its own collector? Maybe I need to install the Hyper-V Module onto the collectors and then have them run the command specifying the hostname in the command?
Thanks.
Kel L
Posted 1 year ago·Last reply 1 year ago
3 comments
Kel L
OP1 year agoOK. That was the problem. Had to install the HPV PS Module on the collector and now it runs.