Set-SPManagedAccount syntax for password resets
Working with the PowerShell command for Set-SPManagedAccount this morning I found that the TechNet bulletin for this command has an inaccuracy with regard to password changes. When trying to reset a password from PowerShell I followed the syntax and used: Set-SPManagedAccount –Identity domainaccount –AutoGeneratePassword true I got the following error: Set-SPManagedAccount : A positional parameter cannot be found that accepts argument ‘true’. At line:1 char:21 + Set-SPManagedAccount <<<< -Identity domainaccount -AutoGeneratePassword true + CategoryInfo : InvalidArgument: (:) [Set-SPManagedAccount], ParameterBindingException…