Mês: agosto 2012

Change Password Several Users Power Shell .Csv Exchange Online

Import-CSV “E:scriptsreset.csv” | foreach {Set-MsolUserPassword -userPrincipalName $_.userPrincipalName -NewPassword $_.Password -ForceChangePassword $false}

.Csv File

UserPrincipalname,Password
jony.cash@domain.com,P@ssWord

Parameters

-ForceChangePassword

$False = Not change the password netx logon

$True = Change the password netx logon