Whereas this feature is nice, I want to disable it. Checking an external URL every time I call Connect is not efficient and not necessary. Especially in on-premises systems this is annoying because internet-access on the executing machine might be restricted and/or slow due to company policies/virus scanners etc.
I want a parameter for Connect that skips this update check, e.g. -SkipUpdateCheck.
In https://github.com/pnp/PnP-PowerShell/blob/master/Commands/Base/ConnectOnline.cs the latest PnP-PowerShell version is always checked
var latestVersion = PnPConnectionHelper.GetLatestVersion();
.Whereas this feature is nice, I want to disable it. Checking an external URL every time I call Connect is not efficient and not necessary. Especially in on-premises systems this is annoying because internet-access on the executing machine might be restricted and/or slow due to company policies/virus scanners etc.
I want a parameter for Connect that skips this update check, e.g.
-SkipUpdateCheck
.