it:ad:msdeploy:howto:start_and_stop_remote_server_websites

IT:AD:MSDeploy:HowTo:Start and Stop Remote Server Websites

If you were sitting at the server itself, you could use IT:AppCmd to do it.


* [[IT/AD/MSDeploy/HowTo/Start and Stop Remote Server WebSites]]
Again, you can use local command line code to start/stop a server, but if your script allows for running it across the wire, better use an MSDeploy provider.

<sxh>
    ...obj\Debug\Package>msdeploy.exe -verb:sync -source:recycleApp -dest:recycleApp=Bwainz.com,computername=192.168.0.2,userName=Administrator,password=Password1,recycleMode=StopAppPool

</sxh>

  • /home/skysigal/public_html/data/pages/it/ad/msdeploy/howto/start_and_stop_remote_server_websites.txt
  • Last modified: 2023/11/04 01:49
  • by 127.0.0.1