< Back
Get-NfsUser
Post
NAME Get-NfsUser
SYNOPSIS
This cmdlet retrieves NFS user accounts.
SYNTAX
Get-NfsUser [[-Username] <String[]>] [-Server <VIServer[]>] [-VMHost <VMHost[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet retrieves NFS user accounts.
PARAMETERS
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this
parameter, the command runs on the default servers. For more information about default servers, see the
description of Connect-VIServer.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-Username <String[]>
Filters the retrieved NFS user accounts by user name.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-VMHost <VMHost[]>
Specifies the virtual machine hosts for which you want to retrieve NFS user accounts.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more NfsUser objects
NOTES
-------------------------- 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 LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... sUser.html
New-NfsUser
Remove-NfsUser
Set-NfsUser
SYNOPSIS
This cmdlet retrieves NFS user accounts.
SYNTAX
Get-NfsUser [[-Username] <String[]>] [-Server <VIServer[]>] [-VMHost <VMHost[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet retrieves NFS user accounts.
PARAMETERS
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this
parameter, the command runs on the default servers. For more information about default servers, see the
description of Connect-VIServer.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-Username <String[]>
Filters the retrieved NFS user accounts by user name.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-VMHost <VMHost[]>
Specifies the virtual machine hosts for which you want to retrieve NFS user accounts.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more NfsUser objects
NOTES
-------------------------- 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 LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... sUser.html
New-NfsUser
Remove-NfsUser
Set-NfsUser