This script retrieves login names and passwords of accounts that SharePoint services and application pools run under. This can be useful if you are a farm administrator who somehow lost record of this information.
The script takes no parameters:
Please be careful running the script and handling the output, as passwords are returned in plain text form
Sergey Zelenov [MSFT]