< Back
Get-VMHostProfileUserConfiguration
Post
NAME Get-VMHostProfileUserConfiguration
SYNOPSIS
This cmdlet retrieves the user password configuration for the given host profile.
SYNTAX
Get-VMHostProfileUserConfiguration [-HostProfile] <VMHostProfile[]> [-Server <VIServer[]>] [-UserName <String[]>]
[<CommonParameters>]
DESCRIPTION
This cmdlet retrieves the user password configuration for the given host profile. The user password configuration
encapsulates the hosts password policy type and password.
PARAMETERS
-HostProfile <VMHostProfile[]>
virtual machine host profile
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-UserName <String[]>
There can be multiple accounts within a host profile. This parameter filters the result for a particular
account. If no value is passed to this parameter, configurations are returned for all accounts by default.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<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
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfile[]
VMware.VimAutomation.ViCore.Types.V1.VIServer[]
OUTPUTS
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileUserConfiguration[]
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-VMHostProfileUserConfiguration -HostProfile "Host_Profile" -UserName "root"
Retrieves the user password configuration for the username root within the HostProfile named Host_Profile
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... Input.html
Set-VMHostProfileUserConfiguration
SYNOPSIS
This cmdlet retrieves the user password configuration for the given host profile.
SYNTAX
Get-VMHostProfileUserConfiguration [-HostProfile] <VMHostProfile[]> [-Server <VIServer[]>] [-UserName <String[]>]
[<CommonParameters>]
DESCRIPTION
This cmdlet retrieves the user password configuration for the given host profile. The user password configuration
encapsulates the hosts password policy type and password.
PARAMETERS
-HostProfile <VMHostProfile[]>
virtual machine host profile
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-UserName <String[]>
There can be multiple accounts within a host profile. This parameter filters the result for a particular
account. If no value is passed to this parameter, configurations are returned for all accounts by default.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<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
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfile[]
VMware.VimAutomation.ViCore.Types.V1.VIServer[]
OUTPUTS
VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileUserConfiguration[]
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-VMHostProfileUserConfiguration -HostProfile "Host_Profile" -UserName "root"
Retrieves the user password configuration for the username root within the HostProfile named Host_Profile
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... Input.html
Set-VMHostProfileUserConfiguration