GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — PowerCLI-Example-Scripts/Scripts/NVME Info.ps1 at master · vmware-archive/PowerCLI-Example-Scripts
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Expand file tree/ Copy pathNVME Info.ps1More file actions 27 lines (26 loc) · 1.15 KB / Copy pathNVME Info.ps1File metadata and controls27 lines (26 loc) · 1.15 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 <# .NOTES =========================================================================== Created by: Alan Renouf Organization: VMware Blog: http://virtu-al.net Twitter: @alanrenouf =========================================================================== #> Foreach ($vmhost in Get-VMHost) { $esxcli = get-esxcli -V2 -vmhost $vmhost Write-Host "Host: $($vmhost.name)" -ForegroundColor Green $devices = $esxcli.nvme.device.list.Invoke() Foreach ($device in $devices) { $nvmedevice = $esxcli.nvme.device.get.CreateArgs() $nvmedevice.adapter = $device.HBAName $esxcli.nvme.device.get.invoke($nvmedevice) | Select-Object ModelNumber, FirmwareRevision $features = $esxcli.nvme.device.feature.ChildElements | Select-object -ExpandProperty name ForEach ($feature in $features){ Write-Host "Feature: $feature" -ForegroundColor Yellow $currentfeature = $esxcli.nvme.device.feature.$feature.get.CreateArgs() $currentfeature.adapter = $device.HBAName $esxcli.nvme.device.feature.$feature.get.Invoke($currentfeature) } } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |