locked
Summing up and comparing values with PowerShell RRS feed

  • Question

  • Hello guys, 

    I need a simple script that can do the following: 

    Get the value on line 24 (file1) and get the numbers only = a 

    Get the value on line 27 (file1) and get the numbers only = b 

    Sum these two values/numbers a+b=c

    Get the value on line 49 (file2) and get the numbers only = d 

    Compare these two values c-d=e

    Display the difference = e

    I will be happy if someone is able to help me with this one. :)

    Cheers

    Monday, March 26, 2018 1:07 PM

All replies