Hot answers tagged


Put this at the top of your script: Add-Type -AssemblyName System.Data Yes it's part of the OS, and no this is not normally required, but there must be some issue from the combination of your OS version + PowerShell version + SQL 2008 R2.

Only top voted, non community-wiki answers of a minimum length are eligible