Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

dahlbyk/posh-tf

Repository files navigation

posh-tf

A set of PowerShell scripts which provide TF/PowerShell integration

Prompt for TF workspaces

The prompt within TF workspaces would show something useful, if I could figure out how to get something useful out of tf.

Tab completion

Provides tab completion for common commands when using tf. E.g. tf ch<tab> --> tf checkout

Usage

See profile.example.ps1 as to how you can integrate the tab completion and/or TF prompt into your own profile. Prompt formatting, among other things, can be customized using $TFPromptSettings.

Installing

  1. Verify you have PowerShell 2.0 or better with $PSVersionTable.PSVersion

  2. Verify execution of scripts is allowed with Get-ExecutionPolicy (should be RemoteSigned or Unrestricted). If scripts are not enabled, run PowerShell as Administrator and call Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm.

  3. Clone the posh-tf repository to your local machine.

  4. From the posh-tf repository directory, run .\install.ps1.

  5. Enjoy!

About

A PowerShell environment for Team Foundation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published