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 | |
Uses the VSTS REST API to create pull request | |
.DESCRIPTION | |
This script uses the VSTS REST API to create a Pull Request in the specified | |
repository, source and target branches. Intended to run via VSTS Build using a build step for each repository. | |
https://www.visualstudio.com/en-us/docs/integrate/api/git/pull-requests/pull-requests | |
.NOTES |
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-DiskFree | |
{ | |
[CmdletBinding()] | |
param | |
( | |
[Parameter(Position=0, | |
ValueFromPipeline=$true, | |
ValueFromPipelineByPropertyName=$true)] | |
[Alias('hostname')] | |
[Alias('cn')] |