NTNX>日記

個人的な趣味による Nutanix Community Edition 日記。Japanese のみですみません。

Nutanix Cmdlets のバージョン確認。

Nutanix Cmdlets のバージョンを確認してみます。

PS C:\> Add-PSSnapin NutanixCmdletsPSSnapin
PS C:\> Get-NutanixCmdletsInfo

Key            Value
---            -----
version        4.7
BuildVersion   1.7-release4.7-dev-06182016
RestAPIVersion v1

ついでに PowerShell のバージョンを確認しておきます。

PS C:\> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.576
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.576}
BuildVersion                   10.0.14393.576
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1


PS C:\> Get-Host


Name             : ConsoleHost
Version          : 5.1.14393.576
InstanceId       : 5610b2b2-7d76-4d6c-9ef7-06e5bfa027db
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : ja-JP
CurrentUICulture : ja-JP
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace


Nutanix Cmdlets と Nutanix Cluster のバージョンが合わない場合は Connect-NutanixCluster で下記のような警告がでますが、接続は可能です。

[Warning]: Cluster version[2016.10.12] and Cmdlets version[4.7] do not match. This might cause some cmdlets to not function correctly. Do you still want to continue [Y/N]?:Y

以上。

©2023 gowatana
クリエイティブ・コモンズ・ライセンスこの 作品 は クリエイティブ・コモンズ 表示 4.0 国際 ライセンスの下に提供されています。