equelin / Unity-Powershell

PowerShell module for managing EMC Unity arrays

Home Page:https://www.powershellgallery.com/packages/Unity-Powershell/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get-UnityESXi fails to product any useful output -- outputs error instead

github-12341234 opened this issue · comments

commented

Please makes sure these boxes are checked before submitting your issue (put an X between the brackets).

  • [ x] Check that your Powershell version > 5.0 (Bonus point if you are using the latest version available)
  • [x ] Check that you follow the instructions for installing the module

See #59 for details about my installation.

When I run the command "Get-UnityESXi" I receive only an error message, no useful info at all.:

PS C:> Get-UnityESXi
Get-UnityItemByKey : Object(s) not found
At line:53 char:7

  •   Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename ...
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-UnityItemByKey

I am receiving the same message here.
Get-UnityVM -session $session
Get-UnityItemByKey : Object(s) not found
At line:52 char:7
`

  •   Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename ...
    

  •   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

  • CategoryInfo : ObjectNotFound: (:) [Write-Error], WriteErrorException

    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-UnityItemByKey

Seems that a lot of the cmdlets throw this error

Hello,

Thanks for your feedback. Could you provide some informations about your setup ?

  • Unity model
  • Unity OE version
  • Unity-Powershell module version

Regards,

commented