I have this code that works:
$net = (Get-WmiObject win32_product | where {$_.name -like '*Framework*'}).version
$net contains 3.5.0.0 & 4.5.51209. I only want the highest value, no matter what it is. how do you find it?
I have this code that works:
$net = (Get-WmiObject win32_product | where {$_.name -like '*Framework*'}).version
$net contains 3.5.0.0 & 4.5.51209. I only want the highest value, no matter what it is. how do you find it?