Skip to content

Instantly share code, notes, and snippets.

@mritsurgeon
Created February 8, 2020 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mritsurgeon/dccd278f83b030b53adbaa3a7f27fa0c to your computer and use it in GitHub Desktop.
Save mritsurgeon/dccd278f83b030b53adbaa3a7f27fa0c to your computer and use it in GitHub Desktop.
Azure Backup data Variables
$restorepointNC = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-NC01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointACS = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-ACS01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointWAS = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-WAS01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointWASP = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-WASP01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointSRN = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-SRNG01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointGW = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-Gwy01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointSQL = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-Sql01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointERC = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-ERCS01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointXRP = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-Xrp01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointSLB = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-SLB01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointADFS = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-ADFS01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointCA = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-CA01" | Sort-Object $_.creationtime -Descending | Select -First 1
$restorepointDC = Get-VBRBackup -Name "Azurestack Infrastructure" | Get-VBRRestorePoint -Name "AzS-DC01" | Sort-Object $_.creationtime -Descending | Select -First 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment