Project Euler meets Powershell - largest prime factor of a value?

things to do… No more than the square root of the value. test each value? start from the square root and work down. the first one is the largest…