Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Import-Module WebAdministration
- Set-ItemProperty IIS:AppPools$($pool.name) -name processModel -value @{userName="$($creds.UserName)";password="$($creds.GetNetworkCredential().Password)";identitytype=3}
Add Comment
Please, Sign In to add comment