Splunk AppDynamics

Update Machine Agent on remote

herbomel_aureli
Path Finder

Hi,

I'm trying to update the machine Agent (Windows) with a PowerShell script, I need help!

When I copy the content of the folder, I have a problem with the startup of the machine agent.

for example the step of my script:

- uninstall machine Agent,

- verify uninstalling,

- Copy folder,

- launch cscript installer,

- Verify service.

I try to copy with robocopy xcopy and cp every time I can see the error on logfile:

[Log file redacted]

When I copy the content of the folder manually by mstsc or other and I launch the install script on remote it works but if I copy the content of a folder with the script it does not work, have you any idea?

Thx

^ post edited by @Ryan.Paredez to remove the log file. Please do not share or attach log files to community posts. 

🙂

Labels (1)
0 Karma
1 Solution

herbomel_aureli
Path Finder

Hi,

I found a solution, i use /mir for copying file from remote and it's work, no more problem on log file.

By

View solution in original post

herbomel_aureli
Path Finder

Hi,

I found a solution, i use /mir for copying file from remote and it's work, no more problem on log file.

By

Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...