Skip to content

Update-AriaLocalUserPasswordAccountLockout

Synopsis

Configure password account lockout for local users.

Syntax

Update-AriaLocalUserPasswordAccountLockout [-server] <String> [-user] <String> [-pass] <String> [-product] <String>
 [[-failures] <Int32>] [[-unlockInterval] <Int32>] [[-rootUnlockInterval] <Int32>] [-json]
 [[-policyPath] <String>] [[-policyFile] <String>] [<CommonParameters>]

Description

The Update-AriaLocalUserPasswordAccountLockout cmdlet configures the password account lockout for local users. Products that are supported:

Products that are supported:

Parameter Product
vrslcm VMware Aria Suite Lifecycle
vrops VMware Aria Operations
vrli VMware Aria Operations for Logs
vrni VMware Aria Operations for Networks
vra VMware Aria Automation

Examples

Example 1

Update-AriaLocalUserPasswordAccountLockout -server sf0-vcf01 -user admin@local -pass VMware1!VMware1 -product vra -failures 5 -unlockInterval 900 -rootUnlockInterval 900

This example updates the VMware Aria Automation nodes with new values for each element.

Example 2

Update-AriaLocalUserPasswordAccountLockout -server sf0-vcf01 -user admin@local -pass VMware1!VMware1 -product vra -json -reportPath "F:\" -policyFile "passwordPolicyConfig.json"

This example updates the VMware Aria Automation using Jthe SON file of preset values.

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

-product

The product to configure. One of: vra, vrops, vrli, vrslcm, and vrni.

Product Product Option
VMware Aria Suite Lifecycle vrslcm
VMware Aria Operations vrops
VMware Aria Operations for Logs vrli
VMware Aria Operations for Networks vrni
VMware Aria Automation vra
Type: String
Parameter Sets: (All)
Aliases:

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

-failures

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

Type: Int32
Parameter Sets: (All)
Aliases:

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

-unlockInterval

The number of seconds before a locked out account is unlocked.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-rootUnlockInterval

The number of seconds before a locked out root account is unlocked.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-json

Use a JSON file to configure the password complexity.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-policyPath

The path to the policy file.

Type: String
Parameter Sets: (All)
Aliases:

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

-policyFile

The path to the policy file.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: None
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.