This commit is contained in:
Zack Meier
2026-04-15 15:42:41 -05:00
parent 74edcc4d9a
commit 03dba08135
146 changed files with 9119 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
$BisDatastores = Get-Datacenter Primary* | Get-Datastore | where-object {$_.Name -notlike "*A9K_R*" -and $_.Name -notlike "*SYS*" -and $_.Name -notlike "*V5K*" -and $_.Name -notlike "*local*"}
$BisVMs = $BisDatastores | Get-VM | where-object { $_.ExtensionData.summary.config.ManagedBy.Type -ne "placeholderVm" }
$BisGroup = $BisVMs | select Name,@{n='vVols';e={($_ | Get-HardDisk).count + 2}} | group-object vVols
$MdnDatastores = Get-Datacenter Secondary* | Get-Datastore | where-object {$_.Name -notlike "*A9K_R*" -and $_.Name -notlike "*SYS*" -and $_.Name -notlike "*V5K*" -and $_.Name -notlike "*local*"}
$MdnVMs = $MdnDatastores | Get-VM | where-object { $_.ExtensionData.summary.config.ManagedBy.Type -ne "placeholderVm" }
$MdnGroup = $MdnVMs | select Name,@{n='vVols';e={($_ | Get-HardDisk).count + 2}} | group-object vVols