IIS 7 and Above
RELIABLE iterative search-and-update of password for service account...
Re: RELIABLE iterative search-and-update of password for service acco...
Aug 26, 2019 06:44 AM|Jalpa Panchal|LINK
In my opinion, there is no built-in script for setup identity. You need to write a script by your self.
You could use below command to retrieve Password of an App Pool identity account:
1)open a command prompt as administrator.
2)Type the below command and press enter.
appcmd.exe list apppool <<app_pool_name>> /text:*
This will show some information related to the iis application pool including username and password.
Refer below article for more information: