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/
© Copyright 2020 by Digital Funwork