VMware Cloud Community
vmCalgary
Enthusiast
Enthusiast

Guest OS nfs mount

I have a list of vms, which can be stored in either csv or txt, where I want to snoop the guest os for any nfs mounts and gather a report that says:

 

VM name        NFS Mount path

 

Is this possible to do with powercli?

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

Partially.

The query to find the NFS mounts in the Guest OS needs to be done through a Guest OS command (which can be a PowerShell snippet).
Which command to use depends on which Guest OS you have running.

You can send that query to the Guest OS via Invoke-VMScript, provided the VMware Tools are installed and running.


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

Reply
0 Kudos