]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - Toybox/toybox.psm1
Cleanup PS Profile
[dotfiles.git] / Toybox / toybox.psm1
index 6edc801bed3072ca40c41d4a0f858f1e7a183a82..00824b282259c744d33d6964e307195c3b7fcd9d 100644 (file)
@@ -1,11 +1,24 @@
 $TOYBOX_ROOT = "C:\src\dotfiles\toybox"
 $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 New-DockerPython2
-# Export-ModuleMember -Function Start-DockerPython2
-# Export-ModuleMember -Function Start-DockerPython2Shell
-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
+