Quantcast
Channel: R&D Forums
Viewing all articles
Browse latest Browse all 9966

PowerShell • Delete Replicas from disk that are older than x days

$
0
0
When a VM is deleted from our Hyper-V environment and stops being backed up it will still stay as a replica. Thats fine but I want to automate that replicas that are older than for example 7 days should be deleted and removed from disk.

I have experimented with Get-VBRRestorepoint and Get-VBRReplica/Remove-VBRReplica but havent been able to get a working script. Anyone have a suggestion for solving this? How would I make a selection from get-vbrreplica based on creation time?

Statistics: Posted by Eson — Jun 13, 2024 6:25 pm



Viewing all articles
Browse latest Browse all 9966

Latest Images

Trending Articles



Latest Images