http://www.bvanleeuwen.nl/faq/?p=365
ForEach ($VM in (Get-VM |Get-View)){($VM.Guest.Disk |Select @{N=“Name“;E={$VM.Name}},DiskPath, @{N=“Capacity(MB)“;E={[math]::Round($_.Capacity/ 1MB)}}, @{N=“Free Space(MB)“;E={[math]::Round($_.FreeSpace / 1MB)}}, @{N=“Free Space %“;E={[math]::Round(((100 * ($_.FreeSpace))/ ($_.Capacity)),0)}}) | Format-Table}
Bind Peeking
-
Here’s a simple detail about bind peeking (during optimisation) that makes
a big difference to “fetch first/next” queries. The optimizer knows about
your b...
Acum 2 zile
Niciun comentariu:
Trimiteți un comentariu