Forum Discussion

StevenAndler's avatar
StevenAndler
Copper Contributor
May 31, 2022
Solved

Examine the tail of multiple files using Get-Content

I am trying to examine the tail of all files in a folder that start with SMRT   here's my script Get-ChildItem SMRT.* | ForEach-Object { @' {0} ----------- {1} '@ -f $_.Name, (Get-Content -...
  • StevenAndler's avatar
    StevenAndler
    Jun 02, 2022

    LainRobertson 

     

    Lain this is just what I was looking for.

     

    Thank you very much!

     

Resources