< Back

Get-MBSBackupPlan

Sat Jan 18, 2020 4:47 pm

NAME Get-MBSBackupPlan



SYNOPSIS

Get backup plans from MBS backup agent.





SYNTAX

Get-MBSBackupPlan [[-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-MBSBackupPlan -StorageType All -PlanType All



Lists all backup plans









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



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



Lists only backup plans with a local destination.









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



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



Lists only backup plans with a cloud destination.









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



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



Lists all File-level backup plans.









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



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



Lists all Image-Based backup plans.









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



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



Lists Image-Based backup plans with a local destination.











RELATED LINKS