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
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
Comments
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?
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.
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
Based on error it appears that you did not enable script execution as per instructions here:
http://portfolioslicer.com/scripts/setup-powershell.html