Skip to content

Instantly share code, notes, and snippets.

View Panzerbjrn's full-sized avatar
💭
Fighting the long fight to get stuff to work...

Lars Panzerbjørn Panzerbjrn

💭
Fighting the long fight to get stuff to work...
View GitHub Profile
@MarcusFelling
MarcusFelling / VSTS_CreateReleasePullRequest.ps1
Last active September 9, 2021 13:01
Uses the VSTS REST API to create pull request
<#
.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
@mweisel
mweisel / Get-DiskFree.ps1
Last active December 6, 2023 00:39
PowerShell advanced function (script cmdlet) to query, retrieve, and display local drive/disk information. (https://binarynature.blogspot.com/2010/04/powershell-version-of-df-command.html)
function Get-DiskFree
{
[CmdletBinding()]
param
(
[Parameter(Position=0,
ValueFromPipeline=$true,
ValueFromPipelineByPropertyName=$true)]
[Alias('hostname')]
[Alias('cn')]