< Back

Reset-DomainUserPassword

Fri Jan 10, 2020 7:41 pm

NAME Reset-DomainUserPassword



SYNOPSIS

Resets the the password for a user account





SYNTAX

Reset-DomainUserPassword [-SamAccountName] <Object> [[-Password] <String>] [-DontChangePasswordAtLogin]

[<CommonParameters>]





DESCRIPTION





PARAMETERS

-SamAccountName <Object>

the samaccount of the user



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Password <String>

the password you want to set for the user



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DontChangePasswordAtLogin [<SwitchParameter>]

use this switch if the user is to not change there password on the next login



Required? false

Position? named

Default value False

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



OUTPUTS



NOTES





Contact: Contact@mosaicMK.com

Version 1.0.1





RELATED LINKS

https://www.mosaicmk.com