Productkey Command
You can use the productkey command to register your product key for the Cross-platform Command-Line Client for Team Foundation Server or to activate the trial period. You can also use productkey to display the currently installed product ID. If you registered a product key in the Team Foundation Server plug-in for Eclipse, then you do not need to separately register the Cross-platform Command-Line Client for Team Foundation Server. You must register a product key before you can use the Cross-platform Command-Line Client for Team Foundation Server or the Team Foundation Server plug-in for Eclipse.
Required Permissions
No specific permissions are required to register your product key.
tf productkey [-set:MyProductKey] [-trial]
Parameters
Argument |
Description |
---|---|
MyProductKey |
Specifies the product key that you obtained with Team Explorer Everywhere in the format: “nnnnn-nnnnn-nnnnn-nnnnn-nnnnn”. |
Option |
Description |
---|---|
-set |
Specifies the product key that you want to use to register Team Explorer Everywhere on a specific computer. |
-trial |
Specifies that you want to activate the trial period. If you specify a valid product key, do not specify the -trial option. |
Remarks
You can set or view the product key with which you register your copy of Team Explorer Everywhere. If you want to try Team Explorer Everywhere before you purchase a product key, you can activate the trial period. For more information, see the Microsoft Software License Terms and Eula Command.
If you specify a product key that is not valid, an error appears.
Examples
The following example registers Team Explorer Everywhere.
tf productkey -set:”12345-12345-12345-12345-12345”
The following example displays the product key with which your product was registered.
tf productkey
The following example activates the trial period for Team Explorer Everywhere.
tf productkey -trial