Replaced Null Check with PSBoundParameter Check