PowerShell Function Catalog

All discovered functions from src, sorted alphabetically with a short description, aliases, and a runnable example.

51 functions generated on 2026-04-15 21:11:02

Convert-VideoToGif

pws

Converts a video file to an animated GIF using ffmpeg.

Defined in src/pws/audioVideoPictures.ps1
Convert-VideoToGif -InputFile "video.avi"

Convert-VideoToH264

pws

Converts a video file to H.264 format using ffmpeg.

Defined in src/pws/audioVideoPictures.ps1
Aliases: shrinkvid
Convert-VideoToH264 -InputFile "input.mp4" -OutputFile "output.mp4"

Convert-VideoToHighQualityMP4

pws

Converts a video file to high-quality H.264 MP4 format using ffmpeg.

Defined in src/pws/audioVideoPictures.ps1
Convert-VideoToHighQualityMP4 -InputFile "video.avi"

Convert-VideoToMP4AndGif

pws

Converts a video file to both high-quality MP4 and animated GIF.

Defined in src/pws/audioVideoPictures.ps1
Aliases: vidconvert
Convert-VideoToMP4AndGif -InputFile "video.avi"

ConvertTo-GroupedFileCount

andrei

ConvertTo action for GroupedFileCount.

Defined in src/andrei/Analysis.ps1
ConvertTo-GroupedFileCount -FilePaths <value>

copyCommand

pws

Copies incoming text to the Windows clipboard.

Defined in src/pws/clipboard.ps1
Aliases: ccopy
'npm run start' | copyCommand

CopyCurDir

pws

Copies the current directory path to the Windows clipboard.

Defined in src/pws/clipboard.ps1
Aliases: ccd cpwd
CopyCurDir

Disable-FolderCaseSensitive

pws

Disables case sensitivity for a directory.

Defined in src/pws/file.ps1
Aliases: caseoff
Disable-FolderCaseSensitive

dnwr

andrei

Runs dotnet watch run with --no-restore for the current or specified .NET project.

Defined in src/andrei/watch.ps1
dnwr

Enable-FolderCaseSensitive

pws

Enables case sensitivity for a directory.

Defined in src/pws/file.ps1
Aliases: caseon
Enable-FolderCaseSensitive

Get-CurrentGitName

andrei

Returns the name of the current Git repository

Defined in src/andrei/copilot.ps1
Aliases: gitname
Get-CurrentGitName

Get-CurrentGitUrl

andrei

Returns the remote URL of the current Git repository

Defined in src/andrei/copilot.ps1
Aliases: giturl
Get-CurrentGitUrl

Get-CustomAliasHelpEvanHahn

pws

Displays all custom PowerShell profile aliases with descriptions.

Defined in src/pws/help.ps1
Aliases: helpEvanHahn
Get-CustomAliasHelp

Get-FolderCaseSensitive

pws

Queries the case-sensitivity setting of a directory.

Defined in src/pws/file.ps1
Aliases: casestatus
Get-FolderCaseSensitive

Get-GitAnalysisRepositoryRoot

andrei

Get action for GitAnalysisRepositoryRoot.

Defined in src/andrei/Analysis.ps1
Get-GitAnalysisRepositoryRoot -Path <value>

Get-GitBugHotspots

andrei

Lists files most frequently touched by bug-fix commits.

Defined in src/andrei/Analysis.ps1
Get-GitBugHotspots

Get-GitChurnHotspots

andrei

Lists the most frequently changed files in a Git repository.

Defined in src/andrei/Analysis.ps1
Get-GitChurnHotspots

Get-GitCommitVelocityByMonth

andrei

Shows commit counts grouped by month.

Defined in src/andrei/Analysis.ps1
Get-GitCommitVelocityByMonth

Get-GitContributorsByCommitCount

andrei

Lists contributors ranked by non-merge commit count.

Defined in src/andrei/Analysis.ps1
Get-GitContributorsByCommitCount

Get-GitFirefightingCommits

andrei

Lists likely firefighting commits such as hotfixes or rollbacks.

Defined in src/andrei/Analysis.ps1
Get-GitFirefightingCommits

Get-HttpStatusMeaning

andrei

Returns the meaning of an HTTP status code

Defined in src/andrei/httpStatus.ps1
Aliases: httpstatus
Get-HttpStatusMeaning 200

Get-UrlParts

pws

Parses a URL into its component parts

Defined in src/pws/internet.ps1
Aliases: parseurl Url
Get-UrlParts "https://www.example.com:8080/path/to/page?param1=value1&param2=value2#section"

Get-WordsFromDictionary

pws

Parses a string and returns the corresponding words from a dictionary (NATO phonetic by default).

Defined in src/pws/text.ps1
Aliases: nato
Get-WordsFromDictionary -InputString "abc"

GetISoDate

pws

Returns the current date in ISO 8601 format (yyyy-MM-dd).

Defined in src/pws/datesAndTimes.ps1
Aliases: hoy
GetISoDate

GetISoDateTime

pws

Returns the current date and time in ISO 8601 compact format (yyyyMMddTHHmmss).

Defined in src/pws/datesAndTimes.ps1
Aliases: hoyt
GetISoDateTime

Install-Psmux

andrei

Installs psmux via winget

Defined in src/andrei/copilot.ps1
Aliases: psmux-install
Install-Psmux

Install-Sbx

andrei

Installs Docker sbx via winget

Defined in src/andrei/copilot.ps1
Aliases: sbx-install
Install-Sbx

Install-Squad

andrei

Installs the Squad CLI via npm

Defined in src/andrei/copilot.ps1
Aliases: squad-install
Install-Squad

Invoke-DotnetServe

pws

Installs dotnet-serve globally and serves a file or directory

Defined in src/pws/internet.ps1
Aliases: serve serveit
Invoke-DotnetServe "C:\path\to\file.html"

Invoke-FsutilCommand

pws

Executes fsutil.exe with the given arguments, using sudo when not running as Administrator.

Defined in src/pws/file.ps1
Invoke-FsutilCommand -Arguments @('file', 'queryCaseSensitiveInfo', 'C:\MyFolder')

Invoke-GitRepositoryAnalysis

andrei

Runs the five Git diagnostics from issue #13 in PowerShell.

Defined in src/andrei/Analysis.ps1
Aliases: analysis
Invoke-GitRepositoryAnalysis

IsoDateTimeAsVersion

pws

Returns the current date and time as a four-part version number (1.yyyy.MMdd.HHmm).

Defined in src/pws/datesAndTimes.ps1
Aliases: hoyv
IsoDateTimeAsVersion

MakeDefault

andrei

Configures recommended default Windows Explorer and security settings.

Defined in src/andrei/MyWindowsUpdates.ps1
MakeDefault

MakeDirCD

pws

Creates a directory and changes the current location to it.

Defined in src/pws/file.ps1
Aliases: mkcd
MakeDirCD -Path "MyNewFolder"

New-BranchWorkspace

andrei

Clones the current Git repo into a new branch-specific workspace folder

Defined in src/andrei/copilot.ps1
Aliases: branchws
New-BranchWorkspace myFeature

NewTempDirectory

pws

Creates a new temporary directory.

Defined in src/pws/file.ps1
Aliases: tempe
$tempDir = New-TempDirectory

Set-InternetConnectivity

pws

Enables or disables network adapters to control internet connectivity

Defined in src/pws/internet.ps1
Aliases: inet
Set-InternetConnectivity -State Off

Set-WindowsMode

pws

Sets Windows to Dark or Light mode by writing to the registry theme settings.

Defined in src/pws/system.ps1
Aliases: theme
Set-WindowsMode -Mode Dark

Show-BalloonNotification

pws

Displays a Windows system tray balloon notification.

Defined in src/pws/datesAndTimes.ps1
Show-BalloonNotification -Title "Done" -Message "Build completed successfully!"

Show-MonthCalendar

pws

Prints a text calendar for a month.

Defined in src/pws/datesAndTimes.ps1
Aliases: cal rn
Show-MonthCalendar

Split-PathToLines

pws

Splits a file path into individual segments, printing each on its own line.

Defined in src/pws/processManagement.ps1
Aliases: prettypath
Split-PathToLines -Path "C:\Users\me\Documents"

Start-BackgroundProcess

pws

Starts a command as a hidden background PowerShell process.

Defined in src/pws/processManagement.ps1
Aliases: bb
Start-BackgroundProcess notepad

Start-DotNetWatch

andrei

Runs dotnet watch run for the nearest .csproj project, including Aspire AppHost projects.

Defined in src/andrei/watch.ps1
Aliases: dnw
Start-DotNetWatch

Start-MinuteTimer

pws

Starts a simple countdown timer for the specified number of minutes.

Defined in src/pws/datesAndTimes.ps1
Aliases: timer
Start-MinuteTimer -Minutes 5

Start-TempNotepad

pws

Starts Notepad with a new temporary text file in the user's temp folder.

Defined in src/pws/text.ps1
Aliases: n
Start-TempNotepad

Start-Unzip

andrei

Extracts all zip files in the specified directory into a destination folder.

Defined in src/andrei/zip.ps1
Aliases: uz
Start-Unzip

Stop-ProcessWithRetry

pws

Kills a process by PID or name, force-killing it if it does not stop within 10 seconds.

Defined in src/pws/processManagement.ps1
Aliases: murder
Stop-ProcessWithRetry -ProcessOrPID notepad

Toggle-InternetConnectivity

pws

Toggles network adapters on or off based on current state

Defined in src/pws/internet.ps1
Aliases: tinet toggle-internet
Toggle-InternetConnectivity

Toggle-InternetConnectivity2

pws

Toggles network adapters off, waits 10 seconds, then toggles them back on.

Defined in src/pws/internet.ps1
Aliases: tinet2 toggle-internet2
Toggle-InternetConnectivity2

updateMe

andrei

Downloads the latest pws-profile.ps1 from GitHub next to your $PROFILE and ensures your profile dot-sources it.

Defined in src/andrei/updateMe.ps1
updateMe

Wait-ForPID

pws

Waits until a process specified by PID or name has exited.

Defined in src/pws/processManagement.ps1
Aliases: waitfor waitpid
Wait-ForPID -ProcessOrPID 1234