Friday, December 6, 2019

alternative code not alternative facts



$winver = Get-wmiobject win32_operatingsystem | select -ExpandProperty version

The above produces the same value as the line below.  Below seems a much neater.

$winver = (get-wmiobject Win32_OperatingSystem).version




That's the alternative code but what is an alternative fact !?
Find out here: