Solutions

Powershell and MsSQL related solutions
The code is currently a little unorganised. 
source: https://4bes.nl/2020/01/19/send-email-from-powershell-with-sendgrid/
I was running a command to install a PowerShell module, e.g.
Install-Module -Name navcontainerhelper -Force
while I received the following error message:
Unable to resolve package source ‘https://www.powershellgallery.com/api/v2’
Solution:
Run PowerShell as Administrator and run the following command to force to use TLS1.2 protocol
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

additional: https://4bes.nl/2020/07/26/pssendgrid-send-email-from-powershell-with-sendgrid/
https://bwit.blog/microsoft-graph-api-module-for-powershell/
https://itsec.group/blog-post-devsecops.html
https://www.trustradius.com/cms
http://lwp.interglacial.com/appf_01.htm
Final Super-Fast Ping Command - Power Tips - Power Tips - IDERA Community
Paket (fsprojects.github.io) also converts and uses nuget packages (but has more capabilities than Nuget)

IIn order to execute the first time, PackageManagement requires an internet connection to download the Nuget package provider. However, if your computer does not have an internet connection and you need to use the Nuget or PowerShellGet provider, you can download them on another computer and copy them to your target computer. Use the following steps to do this:

  1. Run Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force to install the provider from a computer with an internet connection.

  2. After the install, you can find the provider installed in  or .

  3. Place the folder, which in this case is the Nuget folder, in the corresponding location on your target computer. If your target computer is a Nano server, you need to run Install-PackageProvider from Nano Server to download the correct Nuget binaries.

  4. Restart PowerShell to auto-load the package provider. Alternatively, run Get-PackageProvider -ListAvailable to list all the package providers available on the computer. Then use Import-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 to import the provider to the current Windows PowerShell session.

Powershell Install (v7) on windows, linux and Mac

© Copyright 2020 by Digital Funwork