Find Stuff

# Find file by name
Get-ChildItem -Path . -File -Recurse -ErrorAction SilentlyContinue -Filter *.log

# Find and copy files
Get-ChildItem -Path . -Recurse -File | Where-Object {$_.FullName.Contains('drawable-anydpi-v21')} | Copy-Item -Destination 'C:\Users\aaron\dev\workspace\drawable-anydpi-v21'

# Find and delete files
Get-ChildItem -Path . -Include *.tmp -Recurse | foreach ($_) { Remove-Item $_.fullname }

# Find Regular Expression in File To List
Select-String -Path .\GeneratedHandweaveModels.cs -Pattern 'public partial class (?<className>[_a-zA-Z-]+)'|select -expand Matches|Join-String -Property {$_.groups["className"].value} -Separator ','

Follow Stuff

# Wait for changes
Get-Content -Wait

# List last 10 lines and wait for changes
Get-Content <filename> -Tail 10 -Wait