import-module SQLProfiler for x64 Systems

Mar 14, 2011 at 8:34 PM

Hello -- My comments are more of a note and solution, rather than a question.

I installed version on Windows 7 x64.

I manually added the import-module statements into my PowerShell profile.  While testing the lines (with a PowerShell x64 window open), my system reported for SQLProfiler:

Attention. This module only runs on x86 Powershell. Execution interrupted

I have the PowerShell (x86) under my Accessories menu and could import that module using that application.  The file SQLProfiler.psm1 shows in the comments that this SQLProfiler module is only for x86.