We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 754cbcc commit f0e54bbCopy full SHA for f0e54bb
images.CI/macos/select-datastore.ps1
@@ -67,7 +67,7 @@ function Select-DataStore {
67
$availableDatastores = $availableClusterDatastores `
68
| Where-Object { $_.FreeSpaceGB -ge $thresholdInGb } `
69
| Where-Object {
70
- $vmOnDatastore = @((Get-ChildItem -Path $_.DatastoreBrowserPath).Name -notmatch "^\.").Count
+ $vmOnDatastore = @((Get-ChildItem -Path $_.DatastoreBrowserPath).Name -notmatch '(^\.|vmkdump)').Count
71
$vmOnDatastore -lt $vmCount } `
72
| Group-Object -Property { $vmOnDatastore }
73
0 commit comments