CmdFav

3.0.0

CmdFav is a PowerShell module for storing, organizing, and reusing your favorite commands and code snippets. It supports multiple repositories, external editor integration, automatic formatting, and backup functionality. Ideal for building a personal or team snippet library.

Minimum PowerShell version

5.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name CmdFav

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name CmdFav

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright (c) 2024 Sascha Spiekermann

Package Details

Author(s)

  • Sascha Spiekermann

Tags

snippet bookmark favorite command repository productivity powershell backup formatter external-editor

Functions

Add-CmdFav Copy-CmdFav Disable-CmdFavAutoBackup Edit-CmdFav Enable-CmdFavAutoBackup Export-CmdFav Get-CmdFav Get-CmdFavCache Get-CmdFavEditor Get-CmdFavRepository Import-CmdFav Move-CmdFav Register-CmdFavRepository Remove-CmdFav Set-CmdFavEditor UnRegister-CmdFavRepository

Dependencies

Release Notes

## 3.0.0 (2024-07-22)
- Added: Automatic backup functionality for all repositories; backups include all favorites from all repositories to protect against unwanted changes in shared files
- Added: Editing of favorites in external editors (VSCode, Notepad++, Nano, etc.) via Edit-CmdFav
- Improved: When editing or importing commands, code is automatically formatted using PSScriptAnalyzer (Invoke-Formatter) and all aliases are expanded to their full cmdlet names
- Improved: Formatting settings are now centrally configurable via PSFramework configuration
- Improved: Documentation for backup, external editor, and formatting features
- Fixed: Various minor bugs and stability improvements

FileList

Version History

Version Downloads Last updated
3.0.0 (current version) 8 7/29/2025
2.2.6 7 7/22/2025
2.2.2 6 7/22/2025
2.2.1 5 7/22/2025
2.0.0 6 7/21/2025
1.2.4 6 6/12/2025
1.2.3 359 2/9/2024
1.2.2 9 2/5/2024
1.2.1 9 2/5/2024
1.2.0 9 2/5/2024
1.1.0 9 2/5/2024
1.0.1 9 2/2/2024
1.0.0 9 2/1/2024
Show more