PowerShell-File-Walker-Commands is a bundle of four commands cda
, cdf
, elev
, unelev
that simplify common PowerShell shell tasks
Here are all the commands, brief descriptions and usage instructions
cda
- "Change Directory Alphabetically"cda
- Display a nice list of all directories in your current pathcda n
- Go to the n'th directory from the listcda -Stick
- Enter special "sticky" mode
cdf
- "Current Directory File"cdf
- Display a nice list of all files and directories in your current pathcdf n
- Get the path of the n'th file from the list
elev
- "Elevate"elev
- Asks for admin permission and opens a new elevated PowerShell prompt at your current directory
unelev
- "Unelevate"unelev
- Opens a new normal PowerShell prompt at your current directory
This software can be extensively configured:
- Open
PowerShell-File-Walker.ps1
in a text editor - Scroll down and look for a "Settings" header (should be around line 80)
- Edit the variables
- Save
- PowerShell (with a few C# imports)
- Basics of programming in PowerShell
- Basics of Windows' inner systems
This project is old and its quality does not reflect my current skills
- 2023 - 4 months during and after summer - main working period
- 2025 - 03.03.2025 (1 day) (DD.MM.YYYY) - updating the README, changing a few comments and tiny improvements
- Download the repository (click the green "Code" button; click "Download ZIP")
- Set execution policy to "Bypass"
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force
READ ABOUT THE RISKS OF CHANGING THE EXECUTION POLICY
- Run the
PowerShell-File-Walker.ps1
file in your current context. Template:
. ./path/to/PowerShell-File-Walker.ps1`
You can also use PowerShell Profiles to run the command for you every time you start PowerShell