Hi All,
(I Have connected to VI Server)When I am trying to execute below command
get-datastore | get-datastoremountinfo | where {$_.State -eq "error"} | select-object Datastore,VMhost | FT -AutoSize
I am getting Error as
get-datastoremountinfo: The term 'get-datastoremountinfo' 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 the path is correct and try again.
I am using powercli Version 5.0.1 Build 1992769 & Powershell Version 4.0 Build 6.3.9600.16406.
When I am trying to execute add-pssnapin VMware.vimautomation.core it is showing that it is already added.
Please suggest why this cmdlet is behaving like this.