Edit-MBSBackupPlan


Edit backup plan.

Edit-MBSBackupPlan 
    -CommonParameterSet 
    [-ID <String>] 
    [-Name <String>] 
    [-StorageAccountID <String>] 
    [-NewName <String>] 
    [-DisableEncryption] 
    [-DisableSchedule] 
    [-SyncBeforeRun <Nullable`1>] 
    [-ServerSideEncryption <Nullable`1>]    
    [-keepLastVersion <Nullable`1>]
    [-delayPurge <String>]
    [-runMissed <Nullable`1>]
    [-RecurringTypeForceFull <String>]
    [-atForceFull <String>]
    [-dayForceFull <Int32>]
    [-weekdayForceFull <String>]
    [-weeknumberForceFull <String>]
    [-dailyFromForceFull <String>]
    [-dailyTillForceFull <String>]
    [-occursForceFull <String>]
    [-occurValueForceFull <String>]
    [-repeatEveryForceFull <Int32>]
    [-repeatStartDateForceFull <String>]
    [-stopAfterForceFull <String>]
    [-rebackupDate <String>]
    [-DisableForceFullSchedule] 
    [-useBlockLevelBackup <Nullable`1>]
    [-ntfs <Nullable`1>]
    [-ForceUsingVSS <Nullable`1>]
    [-sharerw <Nullable`1>]
    [-df <String>]
    [-BackupEmptyFolders <Nullable`1>]
    [-oa <String>]      
    [-es <Nullable`1>]
    [-SkipFolders <String>]
    [-IncludeFilesMask <String>]
    [-ExcludeFilesMask <String>]
    [-iepnf <Nullable`1>]
    [-TrackDeletedFiles <Nullable`1>]
    [-AddNewFile <String>]
    [-AddNewFolder <String>]
    [-ExcludeFile <String>]  
    [-ExcludeDirectory <String>]
    [-BackupFile <String>]
    [-BackupDirectory <String>]
    [-GenerateDetailedReport <Nullable`1>]
    [<CommonParameters>]
Edit-MBSBackupPlan 
    -FileLevelParameterSet 
    [-ID <String>]
    [-Name <String>]
    [-SpecialFunction <String>]
    [-StorageAccountID <String>]
    [-NewName <String>]
    [-DisableEncryption]
    [-DisableSchedule]
    [-SyncBeforeRun <Nullable`1>] 
    [-ServerSideEncryption <Nullable`1>]
    [-EncryptionAlgorithm <String>]
    [-EncryptionPassword <SecureString>]
    [-Compression <Nullable`1>]
    [-StorageClass <String>]
    [-SaveBPConfiguration <Nullable`1>]
    [-output <String>]
    [-MasterPassword <SecureString>]
    [-RecurringType <String>]
    [-At <String>]
    [-DayOfMonth <Int32>]
    [-WeekDay <String[]>]
    [-WeekDumber <String>]
    [-DailyFrom <String>]
    [-DailyTill <String>]
    [-Occurs <String>]
    [-OccursValue <String>]
    [-RepeatEvery <Int32>]
    [-repeatStartDate <String>]
    [-stopAfter <String>]
    [-preAction <String>]
    [-pac <Nullable`1>]
    [-postAction <String>]
    [-paa <Nullable`1>]
    [-notification <String>]
    [-winLog <String>]
    [-purge <String>]
    [-keep <String>]
    [-keepLastVersion <Nullable`1>]
    [-delayPurge <String>]
    [-runMissed <Nullable`1>]
    [-RecurringTypeForceFull <String>]
    [-atForceFull <String>]
    [-dayForceFull <Int32>]
    [-weekdayForceFull <String>]
    [-weeknumberForceFull <String>]
    [-dailyFromForceFull <String>]
    [-dailyTillForceFull <String>]
    [-occursForceFull <String>]
    [-occurValueForceFull <String>]
    [-repeatEveryForceFull <Int32>]
    [-repeatStartDateForceFull <String>]
    [-stopAfterForceFull <String>]
    [-rebackupDate <String>]
    [-DisableForceFullSchedule]
    [-useBlockLevelBackup <Nullable`1>]
    [-ntfs <Nullable`1>]
    [-ForceUsingVSS <Nullable`1>]
    [-sharerw <Nullable`1>]
    [-df <String>]
    [-BackupEmptyFolders <Nullable`1>]
    [-oa <String>]
    [-es <Nullable`1>]
    [-SkipFolders <String>]
    [-IncludeFilesMask <String>]
    [-ExcludeFilesMask <String>]
    [-iepnf <Nullable`1>]
    [-TrackDeletedFiles <Nullable`1>]
    [-AddNewFile <String>]
    [-AddNewFolder <String>]
    [-ExcludeFile <String>]  
    [-ExcludeDirectory <String>]
    [-BackupFile <String>]
    [-BackupDirectory <String>]
    [-GenerateDetailedReport <Nullable`1>]
    [<CommonParameters>]
Edit-MBSBackupPlan 
    -ImageBasedParameterSet
    [-ID <String>]
    [-Name <String>]
    [-SpecialFunction <String>]
    [-StorageAccountID <String>]
    [-NewName <String>]
    [-DisableEncryption]
    [-DisableSchedule]
    [-SyncBeforeRun <Nullable`1>]
    [-ServerSideEncryption <Nullable`1>]
    [-EncryptionAlgorithm <String>]
    [-EncryptionPassword <SecureString>]
    [-Compression <Nullable`1>]
    [-StorageClass <String>]
    [-SaveBPConfiguration <Nullable`1>]
    [-output <String>]
    [-MasterPassword <SecureString>]
    [-RecurringType <String>]
    [-At <String>]
    [-DayOfMonth <Int32>]
    [-WeekDay <String[]>]
    [-WeekDumber <String>]
    [-DailyFrom <String>]
    [-DailyTill <String>]
    [-Occurs <String>]
    [-OccursValue <String>]
    [-RepeatEvery <Int32>]
    [-repeatStartDate <String>]
    [-stopAfter <String>]
    [-preAction <String>]
    [-pac <Nullable`1>]
    [-postAction <String>]
    [-paa <Nullable`1>]
    [-notification <String>]
    [-winLog <String>]
    [-purge <String>]
    [-keep <String>] 
    [-keepLastVersion <Nullable`1>]
    [-delayPurge <String>]
    [-runMissed <Nullable`1>]
    [-RecurringTypeForceFull <String>]
    [-atForceFull <String>]
    [-dayForceFull <Int32>]
    [-weekdayForceFull <String>]
    [-weeknumberForceFull <String>]
    [-dailyFromForceFull <String>]
    [-dailyTillForceFull <String>]
    [-occursForceFull <String>]
    [-occurValueForceFull <String>]
    [-repeatEveryForceFull <Int32>]
    [-repeatStartDateForceFull <String>]
    [-stopAfterForceFull <String>]
    [-rebackupDate <String>]
    [-DisableForceFullSchedule]
    [-useBlockLevelBackup <Nullable`1>]
    [-BackupVolumes <String>]
    [-Volumes <String[]>]
    [-disableVSS <Nullable`1>]
    [-ignoreBadSectors <Nullable`1>]
    [-useSystemVSS <Nullable`1>]
    [-prefetchBlockCount <Int32>]
    [-blockSize <String>]
    [<CommonParameters>]

Description

The Edit-MBSBackupPlan cmdlet edits MBS supported backup plan. File-Level and Image-Based backup plan type are supported now.

Parameters CommonParameterSet, FileLevelParameterSet and ImageBasedParameterSet enables configuration parameters for relevant backup plans. By default, CommonParameterSet is used.

The cmdlet accepts output PS custom object from Get-MBSBackupPlan via pipeline. It is suitable for bulk backup plan changes.


Examples

Example 1: Enable compression option for all supported backup plans.

This example enables compression option for all supported backup plans. Unsupported backup plans will be skipped by the cmdlet.

PS C:\>Get-MBSBackupPlan | Edit-MBSBackupPlan -CommonParameterSet -Compression $true

Example 2: Enable backup NTFS permissions option for all file-level backup plans.

This example enables backup NTFS permissions option for all file-level backup plans.

PS C:\>Get-MBSBackupPlan -PlanType File-Level | Edit-MBSBackupPlan -FileLevelParameterSet -ntfs $true

Example 3: Add only system required volumes to all image-based backup plans.

This example adds only system required volumes to all image-based backup plans.

PS C:\>Get-MBSBackupPlan -PlanType Image-Based | Edit-MBSBackupPlan -ImageBasedParameterSet -BackupVolumes SystemRequired

Example 4: Add only system required volumes to cloud image-based backup plans.

This example adds only system required volumes to cloud image-based backup plans.

PS C:\>Get-MBSBackupPlan -StorageType Cloud -PlanType Image-Based | Edit-MBSBackupPlan -ImageBasedParameterSet -BackupVolumes SystemRequired

Example 5: Exclude directory from the backup plan with the specific ID..

This example exclude "C:\Windows\temp" folder from the backup plans with ID 3f2fca63-4c57-4644-ba24-77ddfacccc0d.

PS C:\>Edit-MBSBackupPlan -ID 3f2fca63-4c57-4644-ba24-77ddfacccc0d -FileLevelParameterSet -ExcludeDirectory "C:\Windows\temp"

Parameters

-FileLevelParameterSet

Enables parameters related to File-Level backup plan.

Type SwitchParameter
Required: True
Position Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ImageBasedParameterSet

Enables parameters related to ImageBased backup plan.

Type SwitchParameter
Required: True
Position Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-CommonParameterSet

Enables parameters related to File-Level and ImageBased backup plan types.

Type SwitchParameter
Required: True
Position Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ID

Backup plan ID. Use Get-MBSBackupPlan to list backup plan IDs.

Type String
Required: False
Position Named
Default value: Null
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Name

Backup plan name. Use Get-MBSBackupPlan to list backup plan names.

Type String
Required: False
Position Named
Default value: Null
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-SpecialFunction

Special functions to adjust backup plan. Available options:

  • ExcludeEncryptedFiles
  • ExcludeTempWindowsAppsFolders
  • ExcludeOneDriveFolders
  • AddFixedDrivesToIBB
  • AddFixedDrivesToFileLevel
  • DisablePreAction.
Type String
Required: False
Position Named
Default value: Null
Accept pipeline input: False
Accept wildcard characters: False

-StorageAccountID

Storage account ID. Specify to change storage account. Get-MBSStorageAccount cmdlet lists available storage accounts.

Type String
Required: False
Position Named
Default value: Null
Accept pipeline input: False
Accept wildcard characters: False

-NewName

Specify to rename plan.

Type String
Required: False
Position Named
Default value: Null
Accept pipeline input: False
Accept wildcard characters: False

-DisableEncryption

Specify to disable encryption.

Type SwitchParameter
Required: False
Position Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-DisableSchedule

Specify to disable schedule.

Type SwitchParameter
Required: False
Position Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-SyncBeforeRun

Specify to enable or disable "Sync before run" option. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-ServerSideEncryption

Use server side encryption (valid only for Amazon S3). Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-EncryptionAlgorithm

Encryption algorithm. Possible values: AES128, AES192, AES256

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-EncryptionPassword

Encryption password.
Use -EncryptionPassword (ConvertTo-SecureString -string ""Your_Password"" -AsPlainText -Force).

Type SecureString
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-Compression

Compress files. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-StorageClass

Storage Class (valid only for Amazon S3). Possible values: Standard, IntelligentTiering, StandardIA, OneZoneIA, Glacier, GlacierDeepArchive

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-SaveBPConfiguration

Save backup plan configuration to the backup storage. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-Output

Output format. Possible values: short, full

Type String
Required: False
Position Named
Default value: full
Accept pipeline input: False
Accept wildcard characters: False

-MasterPassword

Master password. Should be specified if configuration is protected by master password. Use -MasterPassword (ConvertTo-SecureString -string ""Your_Password"" -AsPlainText -Force).

Type SecureString
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-RecurringType

Specify schedule recurring type. Possible values: day, week, month, dayofmonth, real-time

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-At

Specify datetime or time of schedule. Example -at "25/10/19 10:46 AM" , or -at "10:46 AM" for every day schedule

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-DayOfMonth

Specify day for 'dayofmonth' schedule (1..31)

Type Int32
Required: False
Position Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False

-WeekDay

Specify day(s) of week for weekly schedule. Example: "su, mo, tu, we, th, fr, sa". Or specify day of week for monthly schedule

Type String[]
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-WeekNumber

Specify number of week. Possible values: First, Second, Third, Fourth, Penultimate, Last

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-DailyFrom

Specify daily recurring from value.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-DailyTill

Specify daily recurring till value.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-Occurs

Specify recurring period type. Possible values: hour, min

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-OccursValue

Specify recurring period value.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-RepeatEvery

Specify repeat period value. Possible values: 1..31

Type Int32
Required: False
Position Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False

-repeatStartDate

Specify start date of repetitions.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-stopAfter

Specify time in HH:MM to stop the plan if it runs for HH hours MM minutes. Example -stopAfter "20:30" or -stopAfter "100:00" etc.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-preActionCommand

Specify command to be executed before backup completes.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-preActionContinueAnyway (alias: pac)

Specify to continue backup plan if pre-backup action failed. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-postActionCommand

Specify command to be executed after backup has been successfully completed.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-postActionRunAnyway (alias: paa)

Specify to execute post-backup action in any case (regardless the backup result). Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-notification

Specify to receive notification email when backup fails (errorOnly) or in all cases (on). Prior to turn on the notification settings must be configured. Possible values: errorOnly, on, off

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-winLog

Specify to add entry to Windows Event Log when backup fails (errorOnly) or in all cases (on). Possible values: errorOnly, on, off

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-purge

Purge versions that are older than period (except latest version). Possible values: no, 1d(day), 1w(week), 1m(month)

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-keep

Keep limited number of versions. Possible values: all, number

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-keepLastVersion

Always keep the last version. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-delayPurge

Specify purge delay. Possible values: no, 1d(day), 1w(week), 1m(month)

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-keepLastVersion

Always keep the last version. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-runMissed

Run missed scheduled backup immediately when computer starts up. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-RecurringTypeForceFull

Specify force full schedule recurring type. Possible values: day, week, month, dayofmonth, real-time

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-atForceFull

Specify datetime or time of force full schedule. Example -atForceFull "06/09/19 7:43 AM" , or -atForceFull "7:43 AM" for every day force full schedule

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-dayForceFull

Specify day for 'dayofmonth' force full schedule (1..31)

Type Int32
Required: False
Position Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False

-weekdayForceFull

Specify day(s) of week for weekly force full schedule. Example: "su, mo, tu, we, th, fr, sa". Or specify day of week for monthly force full schedule

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-weeknumberForceFull

Specify number of week. Possible values: First, Second, Third, Fourth, Penultimate, Last

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-dailyFromForceFull

Specify daily force full recurring from value.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-dailyTillForceFull

Specify daily force full recurring till value.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-occursForceFull

Specify force full recurring period type. Possible values: hour, min

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-occurValueForceFull

Specify force full recurring period value

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-repeatEveryForceFull

Specify force full repeat period value. Possible values: 1..31

Type Int32
Required: False
Position Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False

-repeatStartDateForceFull

Specify force full start date of repetitions.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-stopAfterForceFull

Specify force full time in HH:MM to stop the plan if it runs for HH hours MM minutes. Example -stopAfterForceFull "20:30" or -stopAfterForceFull "100:00" etc.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-rebackupDate

Specify rebackup datetime. Example: "06/09/19 7:43 AM".

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-DisableForceFullSchedule

Specify to disable schedule force full.

Type SwitchParameter
Required: True
Position Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-useBlockLevelBackup

Use block level backup. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-ntfs

Backup NTFS permissions. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-ForceUsingVSS

Force using VSS (Volume Shadow Copy Service). Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-sharerw

Use share read/write mode on errors. Can help if file is open in share read/write mode. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-DeleteLocallyDeletedFilesAfter (Alias: df)

Delete files that have been deleted locally after specified number of days. Example: "-DeleteLocallyDeletedFilesAfter 30"

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-BackupEmptyFolders

Backup empty folders. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-oa

Backup files only after specific date. Example: "06/09/19 7:43 AM"

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-es

Except system and hidden files. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-SkipFolders

Skip folders. Example: -skipfolder "bin;*temp*;My*"

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-IncludeFilesMask

Include files mask. Example: -ifm "*.doc;*.xls"

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-ExcludeFilesMask

Exclude files mask. Example: -efm "*.bak;*.tmp"

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-IgnoreErrorPathNotFound (Alias: iepnf)

Ignore errors path not found. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-TrackDeletedFiles

Track deleted files data. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-AddNewFile

Add a new file to backup plan.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-AddNewFolder

Add a new directory to backup plan.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-ExcludeFile

Exclude a file from backup plan.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-ExcludeDirectory

Exclude a directory from backup plan.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-BackupFile

Backup file.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-BackupDirectory

Backup directory.

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-GenerateDetailedReport

Specify to generate detailed report. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-BackupVolumes

Backup volumes type. Possible values:AllVolumes, SystemRequired, SelectedVolumes

Type String
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-Volumes

Backup selected volumes with the specified ids.

Type String[]
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-disableVSS

Disable VSS, use direct access to NTFS volume. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-ignoreBadSectors

Ignore bad sectors. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-useSystemVSS

Use system VSS provider. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-useSystemVSS

Use system VSS provider. Possible values: $true, $false and unspecified.

Type Nullable<bool>
Required: False
Position Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False

-prefetchBlockCount

Prefetch block count. Possible values: (0 - 100, 0 without prefetch)

Type Int32
Required: False
Position Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-blockSize

Block size. Possible values: 128, 256, 512, 1024

Type String
Required: False
Position Named
Default value:
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