I've had a play with some queries and found the way to pull the repositories in question:
Get-VBOObjectStorageRepository | where "EnableSizeLimit" -eq True
I'm wanting a command to remove the setting for repositories in question but can't get it to work. I just get:
Cannot convert 'System.Object[]' to the type
Any ideas?
Code: Select all
$repos = Get-VBOObjectStorageRepository
foreach ($ObjectStorageRepository in $repos) {
Set-VBOObjectStorageRepository -EnableSizeLimit:$false
}