我正在尝试使用Powershell命令连接到TFS:
$tfsCollectionPath = "https://xxx.visualstudio.com"
[string]$username = "xxxx@hotmail.com"
$password = ConvertTo-SecureString 'xxxxx' -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential ($username, $password)
$tfs = get-tfsserver $tfsCollectionPath -credential $credential
然而,我收到以下错误
get-tfsserver : TF30063: You are not authorized to access https://xxxx.visualstudio.com
答案 0 :(得分:0)
答案 1 :(得分:0)
请参阅以下步骤: