Disable and delete replication data - Script RRS feed

  • Question

  • Is there a way where we can user powershell script to disable and delete replication data?

    Recovery plans can failover/commit group of VMs, where disable and delete option is not available?

    Any ideas or thoughts in this regard are appreciated.



    Monday, September 9, 2019 10:14 AM

All replies

  • You should be able to do it via Powershell commands.

    To disable:

    Remove-ASRReplicationProtectedItem -ReplicationProtectedItem $ReplicatedItem

    To Delete:

    You just invoke the delete command for the $ReplicatedItem...

    Monday, September 9, 2019 12:30 PM
  • @Jeetu Were you able to resolve the issue with the suggestions posted by Hugo Barona? If yes, please mark the post as answer so that it helps other community members seeking for such suggestions on the search engines.
    Thursday, September 12, 2019 9:32 AM