Get-NfsUser

This cmdlet retrieves NFS user accounts.

Syntax

[-Name  <String[]>]
[-Server  <VIServer[]>]
[-VMHost  <VMHost[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
Name
String[] named
  • wildcards
  • Filters the retrieved NFS user accounts by user name.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
    optional
    VMHost
    VMHost[] named
  • wildcards
  • pipeline
  • Specifies the virtual machine hosts for which you want to retrieve NFS user accounts.

    Output

    VMware.VimAutomation.Storage.Types.V1.Nfs.NfsUser

    Examples


    Example 1

    Get-NfsUser -VMHost $vmhost

    Retrieves the NFS user accounts from the specified host.

    Example 2

    Get-NfsUser -Username MyUser*

    Retrieves all NFS user accounts that have a user name which starts with MyUser.

    Related Commands

    Feedback

    Was this page helpful?