none
Agent update - powershell RRS feed

  • Question

  • Hey Guys,

    Just performed rollup update 11 and as a consequence, all my agents are out of date.  Showing "Update Available".

    I cant for the life in me find the PowerShell cmdlet for performing a mass update across the estate.

    I'll be dammed if I'm going to upgrade each client manually.

    Please help.

    Thanks

    Tuesday, September 27, 2016 8:30 AM

Answers

  • Hello!

    1) You can use DPM Console to update client at the Protected Server.

    Just click to button-link "Update Available"

    2) You can install update manually with next scripts (my experience):

    1)

    • share DPM agent from DPM server (for example)
    • use psexec
    • use script to install update
    psexec \\<Name of Protected Server> -u domain\Admin cmd /s /c \\<FQDN DPM Server>\DPMAgentx64\DPMAgentInstaller_KB3162908_AMD64.exe /q <FQDN of DPM Server> /IAcceptEula

    2) use the script to install settting for working with DPM Server (Name and firewall exception)

    psexec \\Name of <Protected Server> -u domain\Admin cmd /s /c "cd "C:\Program Files\Microsoft Data Protection Manager\DPM\bin\" && SetDpmServer.exe -dpmservername <Name of DPM Server>"


    Have a nice day !!!
    DPM 2012 R2: Remove Recovery Points
    DPM blog
    System Center
    Hyper-V


    Tuesday, September 27, 2016 9:07 AM
    Moderator

All replies

  • Hello!

    1) You can use DPM Console to update client at the Protected Server.

    Just click to button-link "Update Available"

    2) You can install update manually with next scripts (my experience):

    1)

    • share DPM agent from DPM server (for example)
    • use psexec
    • use script to install update
    psexec \\<Name of Protected Server> -u domain\Admin cmd /s /c \\<FQDN DPM Server>\DPMAgentx64\DPMAgentInstaller_KB3162908_AMD64.exe /q <FQDN of DPM Server> /IAcceptEula

    2) use the script to install settting for working with DPM Server (Name and firewall exception)

    psexec \\Name of <Protected Server> -u domain\Admin cmd /s /c "cd "C:\Program Files\Microsoft Data Protection Manager\DPM\bin\" && SetDpmServer.exe -dpmservername <Name of DPM Server>"


    Have a nice day !!!
    DPM 2012 R2: Remove Recovery Points
    DPM blog
    System Center
    Hyper-V


    Tuesday, September 27, 2016 9:07 AM
    Moderator
  • Thanks for that, i'll try option 2.  It was option 1 I was avoiding due to sheer number of clients.
    Wednesday, September 28, 2016 12:01 PM