Getting Data In

How to install splunk universal forwarder on multiple windows system with powershell script?

vinod94
Contributor

I want to install universal forwarder on multiple windows machine.

I tried using this command

Invoke-Command -ComputerName "Desktopname" -Scriptblock {msiexec /i path of forwarder(.msi) file} . 

Without desktopname ,I am able to install the file but when i specify the desktopname iam getting this error

Connecting to remote server desktopname failed with the following error message : Access is
denied. For more information, see the about_Remote_Troubleshooting Help topic.
   + CategoryInfo          : OpenError: (desktopname:String) [], PSRemotingTransportException
   + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken

Any suggestions would be helpful.

Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...