Jump to content
Software FX Community
DwayneLaRose

invoke-sql error on charts.

Recommended Posts

I have an issue where I get the following error when I open powergadget charts after a recent update:

 

---------------------------PowerGadgets Presenter---------------------------The term 'invoke-sql' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.---------------------------OK ---------------------------

 

I can run the powershell that this comes from just fine.

 

 

Share this post


Link to post
Share on other sites

What exactly do you mean by "after a recent update"?

You might want to check if you have an XML file named PowerGadgets.psc1 in the folder where PowerGadgets is installed, it is an XML file so you can open it in notepad and contents should be similar to this

<?xml version="1.0" encoding="utf-8"?>

<PSConsoleFile ConsoleSchemaVersion="1.0">

  <PSVersion>1.0</PSVersion>

  <PSSnapIns>

  <PSSnapIn Name="PowerGadgets" />

  </PSSnapIns>

</PSConsoleFile> 

Regards,

JuanC

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...