X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/3b36f7054b70729142504025676857307300c392..29032ce14248fa1ca45f5d53073fb773178a3f7a:/Microsoft.PowerShell_profile.ps1 diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 8cb7324..e75befa 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -28,6 +28,14 @@ $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, FullName +} + +function List-DriveSpace() { + Get-PSDrive C | Select-Object Used,Free +} + function Start-Vault() { consul agent -dev # Run in Dev Mode