Skip to content

Update-WsaLocalUserPasswordComplexity

Synopsis

Updates the local user password complexity policy for Workspace ONE Access.

Important

This cmdlet is intended to only be used with a Workspace ONE Access deployment that is not integrated with SDDC Manager.

Please avoid using this cmdlet with a Workspace ONE Access deployment from VMware Aria Suite Lifecycle, formerly vRealize Suite Lifecycle Manager, that has been is integrated with SDDC Manager.

Syntax

Update-WsaLocalUserPasswordComplexity [-server] <String> [-user] <String> [-pass] <String> [-wsaFqdn] <String> [-wsaRootPass] <String> [-minLength] <Int32> [[-history] <Int32>] [[-maxRetry] <Int32>] [<CommonParameters>]

Description

The Update-WsaLocalUserPasswordComplexity cmdlet configures the local user password complexity policy for Workspace ONE Access. The cmdlet connects to SDDC Manager using the -server, -user, and -pass values:

  • Validates that network connectivity and authentication is possible to SDDC Manager
  • Validates that network connectivity and authentication is possible to vCenter Server
  • Configures the password complexity policy

Examples

Example 1

Update-WsaLocalUserPasswordComplexity -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -wsaFqdn sfo-wsa01.sfo.rainpole.io -wsaRootPass VMw@re1! -minLength 1 -history 5 -maxRetry 3

This example configures the local user password complexity policy for Workspace ONE Access.

Parameters

-server

The fully qualified domain name of the SDDC Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-user

The username to authenticate to the SDDC Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-pass

The password to authenticate to the SDDC Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-wsaFqdn

The fully qualified domain name of the Workspace ONE Access instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-wsaRootPass

The password for the Workspace ONE Access appliance root account.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-minLength

The minimum length of the password.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: 6
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-history

The number of previous passwords that a password cannot match.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-maxRetry

The number of failed login attempts before the account is locked.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.


Last update: 2023-07-18