< Back
Set-GlpiToolsPasswordReset
Post
NAME Set-GlpiToolsPasswordReset
SYNOPSIS
This function is to use for reset password for specific user.
SYNTAX
Set-GlpiToolsPasswordReset [-Email] <String> [-Password] <String> [[-PasswordForgetToken] <String>]
[<CommonParameters>]
DESCRIPTION
This function allows to reset password for specific user.
This function works under the following conditions: * GLPI has notifications enabled * the email address of the
user belongs to a user account.
PARAMETERS
-Email <String>
Provide here user email.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Provide here new password for user.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PasswordForgetToken <String>
Provide here old user user_token, for the new one.
Required? false
Position? 3
Default value
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
Email, Password, User_Token
OUTPUTS
Message which says that email will be send, or throw error with explaination.
NOTES
PSP 03/2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-GlpiToolsPasswordReset -Email "user@domain.com" -Password "NewPassword" -PasswordForgetToken
"b0a4cfe81448299ebed57442f4f21929c80ebee5"
This example will send an email to user which provided email is belongs to, and reset his password for defined
value. Example will renew user_token.
RELATED LINKS
SYNOPSIS
This function is to use for reset password for specific user.
SYNTAX
Set-GlpiToolsPasswordReset [-Email] <String> [-Password] <String> [[-PasswordForgetToken] <String>]
[<CommonParameters>]
DESCRIPTION
This function allows to reset password for specific user.
This function works under the following conditions: * GLPI has notifications enabled * the email address of the
user belongs to a user account.
PARAMETERS
-Email <String>
Provide here user email.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Provide here new password for user.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PasswordForgetToken <String>
Provide here old user user_token, for the new one.
Required? false
Position? 3
Default value
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
Email, Password, User_Token
OUTPUTS
Message which says that email will be send, or throw error with explaination.
NOTES
PSP 03/2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-GlpiToolsPasswordReset -Email "user@domain.com" -Password "NewPassword" -PasswordForgetToken
"b0a4cfe81448299ebed57442f4f21929c80ebee5"
This example will send an email to user which provided email is belongs to, and reset his password for defined
value. Example will renew user_token.
RELATED LINKS