3
0
3
0
This PowerShell script converts .DOCX file(s) into Markdown.
FilePattern Specifies the file pattern to the .DOCX file(s)
PS> ./convert-docx2md *.docxAuthor: Markus Fleschutz | License: CC0
This PowerShell script creates a new compressed .ZIP file from a directory (including subfolders).
dirPath Specifies the path to the directory
zipPath Specifies the path to the target .ZIP file (default is dirPath.zip)
PS> ./convert-dir2zip.ps1 C:\Windows Win.zip✅ Converted into compressed Win.zip in 291s.Author: Markus Fleschutz | License: CC0
This PowerShell script compresses the given directory (including subfolders) into a compressed .7z file. It also preserves symbolic links and requires that 7-zip is installed.
dirPath Specifies the path to the directory (to be entered by default)
targetFile Specifies the path to the target file (.7z by default)
PS> ./convert-dir27z.ps1 C:\Windows Win.7z✅ Converted 📂C:\Windows into Win.7z in 291s.Author: Markus Fleschutz | License: CC0
This PowerShell script converts a .CSV file into a text file and prints it.
Path Specifies the path to the .CSV file
PS> ./convert-csv2txt salaries.csvAuthor: Markus Fleschutz | License: CC0
This PowerShell script configures your Git user settings.
fullName Specifies the user's full name
emailAddress Specifies the user's email address
favoriteEditor Specifies the user's favorite text editor
PS> ./configure-git.ps1 "Joe Doe" joe@doe.com vim⏳ (1/5) Searching for Git executable... git version 2.42.0.windows.1⏳ (2/5) Asking for user details...⏳ (3/5) Saving basic settings (autocrlf,symlinks,longpaths,etc.)...⏳ (4/5) Saving user settings (name,email,editor)...⏳ (5/5) Saving user shortcuts ('git br', 'git ls', 'git st', etc.)...✅ Saved your Git configuration to ~/.gitconfig in 11s.Author: Markus Fleschutz | License: CC0
This PowerShell script removes the content of the recycle bin folder permanently. IMPORTANT NOTE: this cannot be undo!
PS> ./clear-recycle-binAuthor: Markus Fleschutz | License: CC0
This PowerShell script clears the DNS client cache of the local computer.
PS> ./clear-dns-cache.ps1✅ Cleared DNS cache in 1s.Author: Markus Fleschutz | License: CC0
This PowerShell script deletes all untracked files and folders in a local Git repository (including submodules). NOTE: To be used with care! This cannot be undone!
path Specifies the file path to the local Git repository (current working directory by default)
PS> ./clean-repo.ps1 C:\Repos\rust⏳ (1/4) Searching for Git executable... git version 2.47.0⏳ (2/4) Checking local repository... C:\Repos\rust⏳ (3/4) Removing untracked files in repository...⏳ (4/4) Removing untracked files in submodules...✅ Repo 📂rust is clean now.Author: Markus Fleschutz | License: CC0
This PowerShell script checks the given XML file for validity.
path Specifies the path to the XML file
PS> ./check-xml-file.ps1 myfile.xml✅ myfile.xml is valid XMLAuthor: Markus Fleschutz | License: CC0
This PowerShell script queries the status of the VPN connection(s) and prints it.
PS> ./check-vpn.ps1✅ Internet VPN to NASA L2TP is connectedAuthor: Markus Fleschutz | License: CC0