Wbadmin start sysrecovery equivalent in Power Shell?

InfoTechdude 156 Reputation points
2020-10-03T13:06:06.787+00:00

Hi,

I'm trying to find out if there is Wbadmin start sysrecovery's equivalent in Power Shell? This is "specific" command since it "Performs a system recovery (bare metal recovery) "

wbadmin start sysrecovery
-version:<VersionIdentifier>
-backupTarget:{<BackupDestinationVolume> | <NetworkShareHostingBackup>}
[-machine:<BackupMachineName>]
[-restoreAllVolumes]
[-recreateDisks]
[-excludeDisks]
[-skipBadClusterCheck]
[-quiet]

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/wbadmin-start-sysrecovery

29977-wbadmin.jpg

Any idea?

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,528 questions
Windows Server Backup
Windows Server Backup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Backup: A duplicate copy of a program, a disk, or data, made either for archiving purposes or for safeguarding valuable files from loss should the active copy be damaged or destroyed.
450 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,362 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 85,651 Reputation points
    2020-10-03T13:36:09.577+00:00

    Hi @InfoTechdude ,

    You'll find the Windows Server Backup PowerShell command line reference over here:
    https://learn.microsoft.com/en-us/powershell/module/windowserverbackup/?view=winserver2012r2-ps

    The equivalent PowerShell cmdlet for Wbadmin start sysrecovery would be the Start-WBSystemStateRecovery cmdlet.

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. InfoTechdude 156 Reputation points
    2020-10-06T13:27:49.607+00:00

    @Leon Laude Thanks man. Are you saying both system state + BMR are in Start-WBSystemStateRecovery? What will be "Start-WBVolumeRecovery" equivalent in wbdamin?


  2. InfoTechdude 156 Reputation points
    2020-10-10T13:58:39.137+00:00

    @Leon Laude Thank you. So to recap:
    both:
    wbadmin start systemstaterecovery (system state)
    wbadmin start sysrecovery (bmr)
    are in Start-WBSystemStateRecovery?
    But wbadmin start recovery= Start-WBVolumeRecovery is for general recovery?