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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...