SQL Server PowerShell Provider And PowerShell Version 2 Get-Command Issue

Posted by BuckWoody on SQL Blog See other posts from SQL Blog or by BuckWoody
Published on Mon, 10 May 2010 13:13:30 GMT Indexed on 2010/05/10 14:26 UTC
Read the original article Hit count: 362

The other day I blogged that the version of the SQL Server PowerShell provider (sqlps) follows the version of PowerShell. That’s all goodness, but it has appeared to cause an issue for PowerShell 2.0. the Get-Command PowerShell command-let returns an error (Object reference not set to an instance of an object) if you are using PowerShell 2.0 and sqlps – it’s a known bug, and I’m happy to report that it is fixed in SP2 for SQL Server 2008 – something that will released soon.

You can read more about this issue here: http://connect.microsoft.com/SQLServer/feedback/details/484732/sqlps-and-powershell-v2-issues


© SQL Blog or respective owner

Related posts about Error Codes

Related posts about powershell