Get-MBSBackupPlan


Get backup plans from MBS backup agent.

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

Description

The Get-MBSBackupPlan cmdlet displays information about local backup plans.


Examples

Example 1: Get all backup plans.

This example lists all backup plans.

PS C\:> Get-MBSBackupPlan

Example 2: Get backup plans with a local destination.

This example lists only backup plans with a local destination.

PS C:\> Get-MBSBackupPlan -StorageType Local

Example 3: Get backup plans with a cloud destination.

This example lists only backup plans with a cloud destination.

PS C:\> Get-MBSBackupPlan -StorageType Cloud

Example 4: Get file-level backup plans.

This example lists all File-level backup plans.

PS C:\> Get-MBSBackupPlan -PlanType File-Level

Example 5: Get backup plans with a cloud destination.

This example lists all Image-Based backup plans.

PS C:\> Get-MBSBackupPlan -PlanType Image-Based

Example 6: Get image-based backup plans with a local destination.

This example lists Image-Based backup plans with a local destination.

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

Parameters

-StorageType

Backup destination storage type. Available options: "All", "Local", "Cloud", "Hybrid".

Type String
Required: false
Position 1
Default value: All
Accept pipeline input: False
Accept wildcard characters: False

-PlanType

Backup 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