FortiSIEM Discussions
adem_netsys
Contributor II

WMI/OMI connecttion with powershell

Hi guys,

 

I have multiple Windows machines and need to collect logs from them using OMI. Configuring each one individually is very difficult. Therefore, I want to use a script to apply the configuration to all machines from one machine. I am considering using PowerShell for this, and I have made some attempts, but I haven't been able to sort out all the permissions. Has anyone tried this before? If there is a different way, I am open to that too.

1 REPLY 1
william-54
New Contributor

Hey man, I have dealt with the same issue before while setting up remote log collection for multiple systems. Using PowerShell with proper permissions and PSRemoting worked great once I got the credentials sorted out. I actually came across this while working on a Nebroo project, and scripting made things a lot smoother. You might want to look into automating the setup saves a ton of manual effort.