You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running Get-ESXInventory against a VCSA from my macOS running PSCore 6.0 and PowerCLI 11, I am getting multiple errors.
Get-VMHostHardware : Cmdlet Get-VMHostHardware is not supported on PowerShell Core.
At /usr/local/share/powershell/Modules/vDocumentation/2.4.4/Public/Get-ESXInventory.ps1:290 char:35+$hostHardware=$vmhost|Get-VMHostHardware-WaitForAllData ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PlatformNotSupportedException
+ FullyQualifiedErrorId : System.PlatformNotSupportedException
New-CimSessionOption : The term 'New-CimSessionOption' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At /usr/local/share/powershell/Modules/vDocumentation/2.4.4/Public/Get-ESXInventory.ps1:308 char:23+$cimOpt=New-CimSessionOption-SkipCACheck -SkipCNCheck ...
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-CimSessionOption:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
New-CimSession : The term 'New-CimSession' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At /usr/local/share/powershell/Modules/vDocumentation/2.4.4/Public/Get-ESXInventory.ps1:309 char:24+$session=New-CimSession-Authentication Basic -Credenti ...
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-CimSession:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Get-CimInstance : The term 'Get-CimInstance' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At /usr/local/share/powershell/Modules/vDocumentation/2.4.4/Public/Get-ESXInventory.ps1:310 char:31+$rac=$session|Get-CimInstance CIM_IPProtocolEndpoint ...
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-CimInstance:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The text was updated successfully, but these errors were encountered:
While this is a true statement, it appears the issue resides with PowerCLI Get-VMHostHardware, not actually with vDoc. @arielsanchezmora should close this :)
I've filed an Aha! powercli request for the first cmdlet - Kyle did confirm it's not yet ported. Give it an upvote and it will get more priority! https://powercli.ideas.aha.io/ideas/PCLI-I-193
While running Get-ESXInventory against a VCSA from my macOS running PSCore 6.0 and PowerCLI 11, I am getting multiple errors.
The text was updated successfully, but these errors were encountered: