Add #requires -PSSnapIn statement