PowerShell Spells is a project that pretend collect on-liner tricks (spells) to use with PowerShell. The main reason is expand the knowledge of the language and a fun information for check without left the console.
You can install the module from the PowerShell Gallery with the following command:
Install-Module PowerShell-Spells
First, you can add the module to your profile, adding the line:
Import-Module PowerShell-Spells
Note:
To edit your profile you can run: code $PROFILE
(if you have VSCode installed).
So then, you add the command to invoke a Spell:
Get-Spell
Contributions are more than welcome! 🚀💻 Feel free to participate via pull requests or issues.