Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ImportCSV = Import-csv $VMNames
- $Days = 10
- $DateToCompare = (Get-date).AddDays(-$Days)
- $ImportCSV | % {
- Get-VBRRestorePoint -Name $_.Name |
- Where-Object { $_.CreationTime -gt $DateToCompare }
- } | Select-Object VMName
Add Comment
Please, Sign In to add comment