Import-CSV “E:scriptsreset.csv” | foreach {Set-MsolUserPassword -userPrincipalName $_.userPrincipalName -NewPassword $_.Password -ForceChangePassword $false}
.Csv File
UserPrincipalname,Password
[email protected],P@ssWord
Parameters
-ForceChangePassword
$False = Not change the password netx logon
$True = Change the password netx logon