Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Save script output

$
0
0

Is there a way to run an arbitrary CLI command, cook the output, and save the result to a table so that it can be included in a report? For example, I might want to run the verify /md5 flash:file.txt, then take just the result and save it somewhere.

The raw output might look like:

.Done!

verify /md5 (flash:/file.txt) = 0a03116ed53e744daa4e412cd343808b

but we would only save 0a03116ed53e744daa4e412cd343808b

 

Thanks


Viewing all articles
Browse latest Browse all 8827

Trending Articles



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