< Back

Get-MBSRestorePlan

Sat Jan 18, 2020 4:47 pm

NAME Get-MBSRestorePlan



SYNOPSIS

Get restore plans from MBS backup agent.





SYNTAX

Get-MBSRestorePlan [[-StorageType] <String>] [[-PlanType] <String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-StorageType <String>



Required? false

Position? 1

Default value All

Accept pipeline input? false

Accept wildcard characters? false



-PlanType <String>



Required? false

Position? 2

Default value All

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None





OUTPUTS

System.Management.Automation.PSCustomObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-MBSRestorePlan -StorageType All -PlanType All



Lists all restore plans









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-MBSRestorePlan -StorageType Local -PlanType All



Lists only restore plans with a local destination.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-MBSRestorePlan -StorageType Cloud -PlanType All



Lists only restore plans with a cloud destination.









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-MBSRestorePlan -StorageType All -PlanType File-Level



Lists all File-level restore plans.









-------------------------- EXAMPLE 5 --------------------------



PS C:\\>Get-MBSRestorePlan -StorageType All -PlanType Image-Based



Lists all Image-Based restore plans.









-------------------------- EXAMPLE 6 --------------------------



PS C:\\>Get-MBSRestorePlan -StorageType Local -PlanType Image-Based



Lists Image-Based restore plans with a local destination.











RELATED LINKS