Hi Vincent. Excellent article. I am getting a small error in resetting the SA password. Its in Bulk Reset the SA passwords script. Please let me know if I need to change something.
sapwd : The term 'sapwd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Work\SA_Password\Bulk_Change_SA_Password.ps1:5 char:111
+ ... e -Database master -Query "ALTER LOGIN sa WITH PASSWORD = '$(sapwd)';
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (sapwd:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException