Skip to content

justinneff/powershell-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

powershell-utils

Useful PowerShell functions and scripts

Setup

  1. Open your powershell profile
notepad $profile
  1. Append the following lines to your PowerShell Profile
Get-ChildItem "C:\{path\to}\powershell-utils\functions" | ForEach-Object { . $_.FullName }
  1. Save profile and restart your powershell terminal

Functions

Prune-LocalGitBranches

Deletes local git branches that have been deleted from the remote git repository. This should be run from inside a git repo directory.

Prune-LocalGitBranches

Remove-NodeModules

Recursively delete node_modules folders under a directory. Optionally takes root path as an argument defaults to the current working directory.

Remove-NodeModules

Remove-NodeModules "C:\dev\repos\my-repo"

About

Useful PowerShell functions and scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published