Run this in your PowerShell terminal to install the profile:
irm "https://github.com/PantiesIsStoopid/PowerShell/raw/main/Setup.ps1" | iex
This downloads and runs the setup script which configures aliases, themes, and utility functions.
Downloads the latest PowerShell profile from GitHub and updates your local profile if there are changes.
Checks the latest PowerShell version from GitHub and updates your PowerShell using winget if a newer version exists.
Creates a new empty file with the specified name.
Launches fzf
fuzzy finder to search files with a preview using bat
, then opens the selected file.
Measures and prints the duration it takes to run a given script block.
Lists all files and folders in the current directory.
Lists all files and folders, including hidden ones, in a formatted table.
Clears the DNS client cache.
Clears PowerShell command history and removes the history file.
Fetches and prints the public IP address.
Prints private IP addresses (IPv4 by default, IPv6 if -IncIPv6
is set).
Runs an internet speed test and pings common public DNS servers.
Opens the current directory in File Explorer.
Updates PowerShell, Chocolatey packages, and runs Windows updates.
Launches the Chris Titus Tech Windows utility script.
Reloads your PowerShell profile.
Runs DISM and SFC system file integrity scans, then resets permissions on C:\
.
Uninstalls and reinstalls Winget package manager.
Empties the Windows Recycle Bin using cleanmgr.
Shuts down the PC gracefully or forcefully if -Force
is specified.
Generates a random password of a specified length.
Fetches and prints a random fun fact from a public API.
Clears temporary files, system cache, IE cache, and Microsoft Edge cache.
GL
— git logGS
— git statusGA
— git add .GC <msg>
— git commit -m ""GP
— git pushGCL <url>
— git cloneGCom <msg>
— git add ., git commit -m ""LazyG <msg>
— add, commit, and pushLazyInit <url>
— initialize repo, add remote, push
ShowHelp
— displays help message describing functions and usageCheatSheet
— displays basic PowerShell command cheatsheet ``
Let me know if you want me to add or tweak anything.