Wednesday, August 8, 2018

PS 1.8.2 Working with File System

Below are some cmdlets you can use to work with cmdlets

cd \
dir
help dir 

cd training: # training is a psdrive 
dir | more
#lists just folders
dir -Directory
#list just files and recurse
dir -File -Recurse
#filtering is can by tricky
#this will work
dir .\*.txt 
dir -filter *.txt
#so will this if your recurse
dir -include *.txt -Recurse

help filesystem

Featured Posts

Day 2: Waiting, Hoping… and Getting Frustrated

​ Thursday morning, the last week of April 2026. I walked back into the gym at exactly the same time — 9:00 AM. There’s something about ro...