Enable sqlps extensions in your regular powershell.