Condividi tramite


Azure IaaS TFS 脚本部署的法门

首先需要启用脚本执行,可以搜索到powershell右键点击“以管理员身份运行”,或者进行如下操作

打开“运行”窗口或者热键win+r

输入并运行PowerShell

 

在Powershell窗口中 输入

Start-Process PowerShell -Verb RunAs

 

此时会以管理员方式启动一个powershell,在此管理员powershell窗口中输入

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force

 

 

Azure环境准备

运行1-tfs-azure-env-config.ps1

[View:https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-71-16/7711.tfsenvscript.MP4]

 

TFS安装

在虚机中运行2-tfs-server-installation.ps1

[View:https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-71-16/3051.tfsinstall.mp4]

 

tfs2015-script-v2.0.zip