How do I set up TFS PowerShell Snapin
- by TheSean
I have installed TFS Power Tools and I am trying to use the powershell snapin, but I can't figure out how to set it up. When I look in the install folder, I only see the following 5 dlls.
Microsoft.TeamFoundation.PowerToys.Client.dll
Microsoft.TeamFoundation.PowerToys.Common.dll
Microsoft.TeamFoundation.PowerToys.Controls.dll
Microsoft.VisualStudio.TeamFoundation.PowerToys.Common.dll
Microsoft.VisualStudio.TeamFoundation.PowerToys.dll
I used instalutil to install each one, and then I used the folowing ps code to see what cmdlets where installed so I could add the snapin but it looks like only a handfull exist in those dlls and these commands are not useful to me right now.
PS H:\> get-pssnapin -registered
Name : TfsBPAPowerShellSnapIn
PSVersion : 1.0
Description : This is a PowerShell snap-in that includes Team Foundation Server cmdlets.
PS H:\> get-command -pssnapin TfsBPAPowerShellSnapIn
CommandType Name Definition
----------- ---- ----------
Cmdlet Get-MsiProductId Get-MsiProductId [[-ProductIndex] <Int32>] [[-Mo...
Cmdlet Get-TfsDBServer Get-TfsDBServer [[-DBPath] <String>] [-Verbose] ...
Cmdlet Get-TfsHealthPing Get-TfsHealthPing [-Verbose] [-Debug] [-ErrorAct...
Cmdlet Get-TfsSqlData Get-TfsSqlData [[-ConnectionBuilder] <SqlConnect...
thanks.