SET ThisScriptsDirectory=%~dp0 SET SetParametersXml=%ThisScriptsDirectory%ParametersXml\MP-ADM.SetParameters.xml SET PackagePath=%ThisScriptsDirectory%MP\ADM\Jetco\ADM.zip PowerShell.exe %ThisScriptsDirectory%\AppPoolRestart.ps1 ^ -appPoolName 'MP-ADM' ^ -AppPath 'GMW' ^ -FramPath '\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\' ^ -Install $False ^ -FileLog 'AppPoolRestart_ADM' "C:\Program Files\IIS\Microsoft Web Deploy V3\MSDeploy.exe" -source:package="%PackagePath%" -dest:auto,authtype="Basic",includeAcls="False" -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:"%SetParametersXml%" -allowUntrusted pause