Creates a new Milestone basic user with the specified username and password.
New-VmsBasicUser cmdlet creates a new Milestone basic user. Basic users
created within Milestone are unique to the Milestone VMS on which they were
created. They are not compatible with the Milestone Federated Architecture feature
as of VMS versions 2023 R1.
- Requires VMS connection and will attempt to connect automatically
Prompts for a password and then creates the user 'user1' with the provided password with the default settings including: Status = Enabled, CanChangePassword = True, ForcePasswordChange = False.
Creates the user 'user2' with the password 'P4ssw@rd'. While the Password
parameter is expected to be of type
[securestring], it can be provided as a
plain text string as well. It is however recommended not to expose credentials
in a script or terminal.
Specifies whether the new basic user is allowed to change their own password.
An optional description of the basic user. This is displayed in the management client and can be be used for any purpose. Sometimes the description is used to indicate why a user account has been locked or why the account was created.
Specifies that the new user must change their password upon first login.
Specifies the username for the new basic user.
Specifies the password for the new basic user. The password should be provided
[securestring] but a plain text string will be accepted as well.
Specifies the status for the new basic user account. The default is 'Enabled' and the other option configurable by the administrator is 'LockedOutByAdmin'. A third status value exists named 'LockedOutBySystem', but only the VMS can set this status value. Usually after multiple login failures.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.