Skip to content

Instantly share code, notes, and snippets.

View johnmccrae's full-sized avatar

John McCrae johnmccrae

  • Progress Software
  • Portland, Oregon
View GitHub Profile
@johnmccrae
johnmccrae / connect.ps1
Last active November 20, 2021 02:12 — forked from codebykyle/connect.ps1
Windows Terminal Split Pane Powershell Script - v2
using namespace System.Collections.Generic
# Encapsulate an arbitrary command
class PaneCommand {
[string]$Command
PaneCommand() {
$this.Command = "";
}
{
"variables": {
"build_version": "1",
"buildkite-agent": null,
"client_id": "{{env `ARM_CLIENT_ID`}}",
"location": "{{env `ARM_DEFAULT_LOCATION`}}",
"client_secret": "{{env `ARM_CLIENT_SECRET`}}",
"tenant_id": "{{env `ARM_TENANT_ID`}}",
"subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}",
"managed_image_prefix": "buildkite_window_10_disk_{{timestamp}}",