I have a webserver with many websites on it.
They are currently using an administrator account for physical path credentials, which is less than ideal.
I have added a user for every single site and set the appropriate permissions etc. I have also gone through and changed the app pool user for each application pool.
What i need to do now is change the physical path credentials for every site to use the 'Application User'.
I've used the following script before to change a specific sites credentials to a specific user, but not sure how this would change to become the application user...
appcmd set site "mywebsite.co.uk" -virtualDirectoryDefaults.userName:mywebsite_co_uk -virtualDirectoryDefaults.password:AbCdEfGh!1
Any help is greatly appriciated :)