Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Getting errors when running UpdatePSData script in startup instructions

There are errors in the script window, PSData does not get populated

All I did to PSconfig was change date and add one stock symbol

Thanks Much, David

Comments

  • And I'm on Windows 7
  • David,

    Strange, as WIndows 7 should already have PowerShell installed. Could you please try enter cmd command prompt and enter command powershell.exe. You should not see any error. Could you please confirm if you see error?
  • Also, can you try to update powershell:
    Go to https://www.microsoft.com/en-us/download/details.aspx?id=40855
    If you are on 64bit WIndows, then download and install file: Windows6.1-KB2819745-x64-MultiPkg.msu
    If you are on 32bit Windows, then download and install file: Windows6.1-KB2819745-x86-MultiPkg.msu

    Then run that .bat file again.
  • Thanks. Seems to be running now
  • I've Windows 10, and its came only with Powershell 2.0. How can I do the upgrade, and for what powershell version?
  • Vader, On win 10, you should not need to install or upgrade powershell. What error are you getting?
  • Hi Vidas,

    The error is that:

    C:\Users\PC\OneDrive\Documents\Bolsa\PortfolioSlicerV2.3-XL16>echo off
    .\Scripts\GetQuotesYahoo.ps1 : File
    C:\Users\PC\OneDrive\Documents\Bolsa\PortfolioSlicerV2.3-XL16\Scripts\GetQuotesYahoo.ps1 cannot be loaded. The file
    C:\Users\PC\OneDrive\Documents\Bolsa\PortfolioSlicerV2.3-XL16\Scripts\GetQuotesYahoo.ps1 is not digitally signed. You
    cannot run this script on the current system. For more information about running scripts and setting execution policy,
    see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
    At line:1 char:1
    + .\Scripts\GetQuotesYahoo.ps1

    and continue with the same for Google and Arive, etc
  • Vader,

    Based on error it appears that you did not enable script execution as per instructions here:
    http://portfolioslicer.com/scripts/setup-powershell.html
Sign In or Register to comment.