I had this code to enable UsePerVMFile checkbox:
Code: Select all
PS C:\Windows\system32> Get-VBRBackupRepository -Name "Backup Repository" | ft Name,SplitStoragesPerVm -AutoSize
Name SplitStoragesPerVm
---- ------------------
003 - Backup Repository False
PS C:\Windows\system32> Get-VBRBackupRepository -Name "Backup Repository" | Set-VBRBackupRepository -UsePerVMFile
Info : Veeam.Backup.Model.CBackupRepositoryInfo
Id : 94cd3482-2d49-4882-88c2-74d0ef98100a
Name : Backup Repository
HostId : ac34e388-4875-4440-bd5a-25e971778972
MountHostId : 6745a759-2205-4cd2-b172-8ec8f7e60ef8
Description : Backup Repository
CreationTime : 11.10.2018 14:54:37
Path : D:\Backup
FullPath : D:|Backup
FriendlyPath : D:\Backup
ShareCredsId : 00000000-0000-0000-0000-000000000000
Type : WinLocal
Status : Ordinal
Group : BackupRepository
UseNfsOnMountHost : False
VersionOfCreation : 9.5.0.1922
IsReadOnly : False
IsTemporary : False
TypeDisplay : Windows
IsRotatedDriveRepository : False
EndPointCryptoKeyId : 00000000-0000-0000-0000-000000000000
Options : Veeam.Backup.Model.CDomBackupRepositoryOptions
HasBackupChainLengthLimitation : False
IsSanSnapshotOnly : False
IsDedupStorage : False
SplitStoragesPerVm : True
Code: Select all
PS C:\Windows\system32> Get-VBRBackupRepository -Name "Backup Repository" | Set-VBRBackupRepository -UsePerVMFile $false
Set-VBRBackupRepository : A positional parameter cannot be found that accepts argument 'False'.
At line:1 char:59
+ ... Backup Repository" | Set-VBRBackupRepository -UsePerVMFile $false
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-VBRBackupRepository], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Veeam.Backup.PowerShell.Cmdlets.SetVBRBackupRepository