Created
August 24, 2022 02:20
-
-
Save kmondesir/85b5aad7a0bc9b82860b9299cd1236aa to your computer and use it in GitHub Desktop.
Sets the Identity of Application Pool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module WebAdministration | |
# Please set password as an environment variable on the server | |
Set-ItemProperty IIS:\AppPools\$app -name processModel -value @{userName=$username;password=$password} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment