Skip to content

Instantly share code, notes, and snippets.

View JeffBrownTech's full-sized avatar

Jeff Brown JeffBrownTech

View GitHub Profile
@JeffBrownTech
JeffBrownTech / PromptMethod-dotNET.ps1
Created March 26, 2020 12:41
Create a PowerShell prompt using .NET classes
function Remove-MyItem {
[CmdletBinding()]
param(
[Parameter(Mandatory, Position = 1)]
[string]
$Path
)
$item = Get-Item -Path $Path
@JeffBrownTech
JeffBrownTech / PromptMethod-Manual.ps1
Created March 26, 2020 12:36
Create prompt in PowerShell using 'manual' method
function Remove-MyItem {
[CmdletBinding()]
param(
[Parameter(Mandatory, Position = 1)]
[string]
$Path
)
$item = Get-Item -Path $Path
@JeffBrownTech
JeffBrownTech / profiles.json
Created March 21, 2020 15:01
Default Visual Studio Code profiles.json
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"profiles":
{
"defaults":
{
// Put settings here that you want to apply to all profiles