Sunday, September 15, 2013

Retrieve managed accounts password using powershell

#Retrieves the password, assigns it to a variable
35$Password = cmd.exe /c $env:windir\system32\inetsrv\appcmd.exe list apppool "your app pool name" /text:ProcessModel.Password

No comments:

Post a Comment