Table of Contents

[CHEATSHEET] windows

OMG! windows cheatsheet!

history

history list

Get-History

execute history command

Invoke-History 1

find

find -type f

Get-ChildItem -Path . -Recurse -Attributes Archive

grep

grep string file

Select-String -pattern "ams-pve-bamboo" file.log

tail

tail -f file

Get-Content filename.log -Wait

zero/empty a file

Clear-Content C:\Temp\TestFile.txt