Script only collects specified info instead of all info. Updated script with cmdlet binding and best-practice naming.