X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/d9d47f8ef207fe6d89a64d942c7b3fce58a0ad15..912c2bab7be11a698a15285e4089dccf35c870d8:/Microsoft.PowerShell_profile.ps1 diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 02abc31..e75befa 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -29,7 +29,11 @@ $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 + Get-ChildItem c:\ -r| sort -descending -property length | select -first 10 name, Length, FullName +} + +function List-DriveSpace() { + Get-PSDrive C | Select-Object Used,Free }