Created
February 18, 2016 16:24
-
-
Save lamw/c6eb8b5a7229c807bd1b to your computer and use it in GitHub Desktop.
Retrieve ESXi Major / Update version number using ESXCLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$esxcli = Get-EsxCli | |
### To retrieve Major/Update version number of ESXi via ESXCLI | |
PS C:\Users\lamw\Desktop> $esxcli.system.version.get().version + " Update" + $esxcli.system.version.get().update | |
6.0.0 Update1 | |
### To retrieve all version information from ESXi via ESXCLI | |
PS C:\Users\lamw\Desktop> $esxcli.system.version.get() | |
Build : Releasebuild-3029758 | |
Patch : 17 | |
Product : VMware ESXi | |
Update : 1 | |
Version : 6.0.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment