PowerCLI

 View Only
  • 1.  Need info on NFS path and VMkernal

    Posted Sep 16, 2022 07:11 PM

    LucD,

     

    I was trying out your sample shown at the below link on finding Datastore info,,

    https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Get-Datastore-Path-Parameter/td-p/232864

    I ran the CLI script and get back..

    Get-Datastore : The term 'Get-Datastore' 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.

    I am trying to see what path the NFS mount is using from the ESXi host and what vmkernel it is using

     

    thanks

     

     

     



  • 2.  RE: Need info on NFS path and VMkernal

    Posted Sep 16, 2022 08:00 PM

    Seems that PS doesn't find the PowerCLI modules.
    Can you check if they are present and where they are?

    Get-Module -Name VMware.PowerCLI -ListAvailable
    $env:PSModulePath


  • 3.  RE: Need info on NFS path and VMkernal

    Posted Sep 19, 2022 12:20 PM

    Thanks,,,

    It looks like this system does not have PowerCLI installed...

    The Get-Module -Name VMware.PowerCLI -ListAvailable does not return a listing,,

    I will have to download and install a version