Previously, powershell, Web deployment, and python were used to automate website deployment. Microsoft's Web Deployment Tool and powershell 2.0 have not been released.
Therefore, you have to use the vbs script to switch the site path and use python to complete other small steps.
The following is the vbs script that comes with Windows 2003 after installation, except that adsutil. vbs is in the C:/inetpub/adminscripts path,
All others are under % WINDIR %/system32 /.
Iisapp. vbs
Iisapp/P 2368
# Reclaim the name of the specified application pool
Iisapp/A defaultapppool/R
# Reclaim the ID of the specified application pool
Iisapp/P 2368/R
Http://technet.microsoft.com/zh-cn/library/cc755905 (ws.10). aspx
Iisback. vbs
Back up site configuration information
Http://technet.microsoft.com/zh-cn/library/cc775682 (ws.10). aspx
Liscnfg. vbs
Use iiscnfg. vbs to export IIS configurations
Http://technet.microsoft.com/zh-cn/library/cc787196 (ws.10). aspx
Lisext. vbs
Disable Web Service extension using iisext. vbs
Http://technet.microsoft.com/zh-cn/library/cc756920 (ws.10). aspx
Lisftp. vbs
Use iisftp. vbs to create an FTP site
Http://technet.microsoft.com/zh-cn/library/cc785847 (ws.10). aspx
Lisftpdr. vbs
Use iisftpdr. vbs to create an FTP virtual directory
Http://technet.microsoft.com/zh-cn/library/cc739771 (ws.10). aspx
Lisvdir. vbs
Use iisvdir. vbs to create a web virtual directory
Http://technet.microsoft.com/zh-cn/library/cc778742 (ws.10). aspx
Lisweb. vbs
Use iisweb. vbs to create a website/use iisweb. vbs to list websites
Http://technet.microsoft.com/zh-cn/library/cc780607 (ws.10). aspx
Http://technet.microsoft.com/zh-cn/library/cc728368 (ws.10). aspx
Adsutil. vbs (awesome script)
Use adsutil. vbs management script
Http://technet.microsoft.com/zh-cn/library/cc781546 (ws.10). aspx