Hello
I used to run the Install-Module to update my code for pwps_dab
Now I get this message
"WARNING: Unable to resolve package source 'https://www.powershellgallery.com/api/v2'."
Any idea what need to be done to allow the install-Module to run?
Luc,
Try these steps:
Start a PowerShell ISE (x86) session As Administrator and execute this command to remove any older 32-bit versions:
Uninstall-Module -Name PWPS_DAB -AllVersions -Force
Then Start a PowerShell ISE (64 bit) session As Administrator and execute these commands:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Uninstall-Module -Name PWPS_DAB -AllVersions -Force Install-Module -Name PWPS_DAB Show-PWPS_DABChangeLog
You should put the "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 " line in your PS Profile as a way to force the use of TLS 1.2.
Thank you Dan
At the moment I have only 32 bit version of powershell. i struggle to get that install.
Do the 64 bit is mandatory?
No, just recommended for various reasons. FWIW, there are a few Cmdlets that are only supported in (x86) mode. I don't have a list, but I believe that the iPlot related Cmdlets are limited to (x86) as well as some of the rendition related Cmdlets.
Ok thank you
I'm just getting used to PS, so with my present knowledge, I should be good :-)
Will keep that in mind.
Thank you again
Have a good weekend