VMware Cloud Community
stanj
Enthusiast
Enthusiast

Need info on NFS path and VMkernal

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/2328...

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

 

 

 

0 Kudos
2 Replies
LucD
Leadership
Leadership

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


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
stanj
Enthusiast
Enthusiast

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

 

 

 

0 Kudos