Get-MBSRestorePlan
Get restore plans from MBS backup agent.
Get-MBSRestorePlan
[[-StorageType] <String>]
[[-PlanType] <String>]
[<CommonParameters>]
Description
The Get-MBSRestorePlan cmdlet displays information about local restore plans.
Examples
Example 1: Get all restore plans.
This example lists all restore plans.
PS C\:> Get-MBSRestorePlan
Example 2: Get restore plans with a local destination.
This example lists only restore plans with a local destination.
PS C:\> Get-MBSRestorePlan -StorageType Local
Example 3: Get restore plans with a cloud destination.
This example lists only restore plans with a cloud destination.
PS C:\> Get-MBSRestorePlan -StorageType Cloud
Example 4: Get file-level restore plans.
This example lists all File-level restore plans.
PS C:\> Get-MBSRestorePlan -PlanType File-Level
Example 5: Get restore plans with a cloud destination.
This example lists all Image-Based restore plans.
PS C:\> Get-MBSRestorePlan -PlanType Image-Based
Example 6: Get image-based restore plans with a local destination.
This example lists Image-Based restore plans with a local destination.
PS C:\> Get-MBSRestorePlan -StorageType Local -PlanType Image-Based
Parameters
-StorageType
Destination storage type.
Available options: "All", "Local", "Cloud"
Type | String |
Required: | false |
Position | 1 |
Default value: | All |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PlanType
Restore plan type.
Available options: "All", "File-Level", "Image-Based", "MSSQL","MSExchange","VMware","Hyper-V"
Type | 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.
Inputs
None
Outputs
System.Management.Automation.PSCustomObject