Paul D'Ambra
Paul D'Ambra

Reputation: 7824

Why isn't powershell loading the SQLPS module correctly

I'm loading SQLPS by using

Import-Module "sqlps" -DisableNameChecking

on a windows server 2008 R2 box.

It gives me the error

The assembly 'Microsoft.SqlServer.Management.HadrDMF' was not loaded because no assembly was found

Google-fu is failing me... help me hivemind!

Upvotes: 3

Views: 5397

Answers (1)

John
John

Reputation: 246

Make sure that in addition to the PowerShell Extensions you also install the Shared Management Objects which in turn requires the System CLR Types. These all are found in:

MS SQL Server 2012 Features Pack

Upvotes: 5

Related Questions