powershell - Windows Web Deploy not setting 'Connect As' user with proper Domain -
powershell - Windows Web Deploy not setting 'Connect As' user with proper Domain -
i'm trying migrate site new server using microsoft web deploy. command i'm using following:
$msdeploypath = "c:\program files\iis\microsoft web deploy v3\msdeploy.exe" &$msdeploypath '-verb:sync' '-source:package=iispackage.zip,encryptpassword=password,machineconfig32.netfxversion=2,machineconfig64.netfxversion=2,rootwebconfig32.netfxversion=2,rootwebconfig64.netfxversion=2' '-dest:webserver,machineconfig32.netfxversion=2,machineconfig64.netfxversion=2,rootwebconfig32.netfxversion=2,rootwebconfig64.netfxversion=2'
when run locally (on server itself) copies of site info want, sets 'connect as' user in site's basic settings sandbox\sandbox_usr. i'm working on automation i'm not running script locally, i'm executing udeploy server. when execute udeploy server gets set onto server, user that's set 'sandbox_usr' isn't want.
i tried using authtype flag in web deploy didn't me. ideas?
powershell iis-7 webdeploy microsoft-web-deploy
Comments
Post a Comment