X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/715bc2354a7a04453f721087d919e54622f351de..5a6f185b2159c696c3dab735d6428c63d7ef661e:/Microsoft.PowerShell_profile.ps1 diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index e2aef9c..8c9c6a1 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -13,6 +13,10 @@ $ENV:PATH+=";C:\Program Files\nodejs" # KataKoda wants to add tools via npm $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in. +function Find-LargeFiles() { + Get-ChildItem c:\ -r| sort -descending -property length | select -first 10 name, Length, Location +} + function Start-Vault() { consul agent -dev # Run in Dev Mode @@ -67,4 +71,8 @@ function Start-DockerPython3Bash { function Start-DockerPython2Bash { docker run -it python:2-buster /bin/bash +} + +function Stop-Docker { + docker stop $(docker ps -a -q) } \ No newline at end of file