cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


Update Machine Agent on remote

herbomel.aurelien
Architect

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. 

1 REPLY 1

herbomel.aurelien
Architect

Hi,

 

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

 

By