fredag 12 november 2010

Remove-ProductionServer.ps1

During the last two weeks I have been upgrading a large DPM 2007 installation to DPM 2010. After the upgrade was done I noticed that some agents appeared that the customer didn’t protect ant longer.

The agents information were present on the secondary DPM server, on the primary everything looked ok.

To remove those agent records I used the new PowerShell script, Remove-ProductionServer.ps1 and it worked like a charm!

Just run the script, use FQDN for the DPM server and the production server.

2 kommentarer:

  1. Is there a way to do this in powershell in DPM 2007 sp1?

    Looking for the remove version of the following from attachProductionServer.ps1:
    #Call Attach production server method on DPM server
    $dpmServer.AttachProductionServer($PSName, $UserName, $Pwd, $Domain)

    Can't seem to find the method docs (buried on msdn?)

    SvaraRadera
  2. The PowerShell script isn't available for DPM 2007, you'll find it in DPM 2010.

    SvaraRadera