I am looking for the best way to check if a Com Object exists.
Here is the code that I have; I\'d like to improve the last line:
$ie = New-Object -Co
Type-check with the -is operator returns false for any null value. In most cases, if not all, $value -is [System.Object] will be true for any possible non-null value. (In all cases, it will be false for any null-value.)
My value is nothing if not an object.