Changed to use puppetlabs powershell