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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...