]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - Toybox/toybox.psm1
Cleanup PS Profile
[dotfiles.git] / Toybox / toybox.psm1
index 93a8cb0fab7588d3cb09a7d4e6000ff10468a71a..00824b282259c744d33d6964e307195c3b7fcd9d 100644 (file)
@@ -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
+