X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/2e415313c1718d9a65085430c44708335bcd341b..2e7bed97ff20c5f2adbd7c2fa897bac48e07b1c4:/Toybox/toybox.psm1 diff --git a/Toybox/toybox.psm1 b/Toybox/toybox.psm1 index 93a8cb0..00824b2 100644 --- a/Toybox/toybox.psm1 +++ b/Toybox/toybox.psm1 @@ -1,8 +1,24 @@ $TOYBOX_ROOT = "C:\src\dotfiles\toybox" -$TOYBOX_DOCKER_NAME = "secops" -function Start-DockerPythonBash { - docker run -it python /bin/bash +# function Start-DockerPythonWhatever { +# docker run -it python /bin/bash +# } + +# Export-ModuleMember -Function Start-DockerPythonWhatever +# +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 } -Export-ModuleMember -Function Start-DockerPythonBash +# function Export-VSCodeExtensions { +# code --list-extensions | Out-File -FilePath /src/dotfiles/vscode-extensions.txt +# Get-Content -Path /src/dotfiles/vscode-extensions.txt +#} + +Export-ModuleMember -Function List-DriveSpace +Export-ModuleMember -Function List-LargeFiles +