Index | Diary

PowerShell and pwsh

pwsh powershell

Template

template plaster

Powershell Commands

powershell

OpenSSH

ssh

As of OpenSSH 0.0.22.0 Universal Installer, a script is distributed that allows setting the default shell for openssh. You could call it with code like this:

    If (Test-Path "C:\Program Files\openssh-win64\Set-SSHDefaultShell.ps1")
      {& "C:\Program Files\openssh-win64\Set-SSHDefaultShell.ps1" [PARAMETERS]}

Learn more with this: Get-Help "C:\Program Files\openssh-win64\Set-SSHDefaultShell.ps1" Or here: https://github.com/DarwinJS/ChocoPackages/blob/master/openssh/readme.md

PowerShell Configuration

oh-my-posh posh-git

JanDeDobbeleer / oh-my-posh provides instructions for installing posh-git and oh-my-posh. The Honukai theme works well with conda environments and doesn't clobber terminal colors. A prompt function is no longer required.

Add the following to ~\Documents\PowerShell\posh-gitrc.ps1:

Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Honukai

PowerShell Modules and Scripts

Required by PROFILE

Build Tools

Maintenance

Dot-source and Execute

Todo

todo

Page created on 2025-07-03