Using powershell to search for a pattern
<p>I am trying to write a powershell script to search for a pattern in a text file. Specifically I am looking at reading a file line by line and returning any line that has a space at the 32nd character position.</p>

<p>I have this so far but it just returns all lines that have white space. I need to narrow it down to the 32nd position</p>

<p>Get-Content -path C:\VM_names.txt | Where-Object {$_ -match "\s+"}</p>