2017-07-26 2 views

Antwort

0

Sie könnten msdeploy.exe laufen und in Parameter übergeben und die AppPool gesetzt, wie etwa wie folgt folgt:

msdeploy.exe 
    -verb:sync -source:appHostConfig="Default Web Site" 
    -enableLink:AppPoolExtension 
    -dest:package=site.zip 
    -declareParam:name="Application Pool", 
     defaultValue="Default Web Site", 
     description="Application pool for this site", 
     kind=DeploymentObjectAttribute, 
     scope=appHostConfig, 
     match="application/@applicationPool" 
0

Sie können mit Powershell:

import-module WebAdministration 
Set-ItemProperty 'IIS:\Sites\Default Web Site' ApplicationPool NewAppPoolName 
Verwandte Themen