PowerShell - Regular Expressions
Given a file 'log.txt' with lines:
1. Error: Disk full
2. Warning: Low memory
3. Error: File not found
What is the output of
1. Error: Disk full
2. Warning: Low memory
3. Error: File not found
What is the output of
Select-String -Pattern '^Error' -Path 'log.txt'?