Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 13537

Powershell help

$
0
0

Hey guys,

 

Quick question to see if anyone has done this.  I'm working on a PowerShell script that looks at a file written in a directory from the previous day and looking for specific text in that file that says "Process completed" to ensure that a specific process completed.   I have that down for the most part, what I'm trying to do now is extract a value from that file and I'm not sure if it's possible so I'd check to see if anyone has done it before.   Basically if the process completes a line in the file is generated such as Total Messages: 2277.  What I'd like to do is extract the 2277 or whatever value is in the file each day after the Total Messages: as the statistic.   Has anyone had to do this before, or could think of a way in PowerShell to do this? 


Viewing all articles
Browse latest Browse all 13537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>