This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Displays a formated string message with color-coding and borders | |
.PARAMETER message | |
The message to display | |
#> | |
function write-header | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-Tfs | |
{ | |
param( | |
[parameter(Mandatory=$true, | |
Position=0, | |
HelpMessage="The TFS Server Url containing the Team Project Collection.")] | |
[alias("TFS")] | |
[string] $serverName, | |
[parameter(Mandatory=$false, | |
Position=1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Converts a JSON string into a PowerShell hashtable using the .NET System.Web.Script.Serialization.JavaScriptSerializer | |
.PARAMETER json | |
The string of JSON to deserialize | |
#> | |
function ConvertFrom-Json | |
{ | |
param( | |
[string] $json |