How do I tell SCA to not attempt to download from the powershell gallery?

I was demonstrating SCA today without an internet connection.  It showed the warnings below.  How can I tell SCA to skip DL and use the currently installed versions?

WARNING: Network connectivity may not be available, unable to reach remote
April 16th 2019 10:32:37
Info
sources.
April 16th 2019 10:32:37
Info
WARNING: Unable to bootstrap the required package provider due to problems with
April 16th 2019 10:32:37
Info
network connectivity. Please fix your network connection. If this is not
April 16th 2019 10:32:37
Info
possible, refer to 'Get-Help Install-PackageProvider' or
April 16th 2019 10:32:37
Info
http://go.microsoft.com/fwlink/?LinkId=626941 for guidance on installing the
April 16th 2019 10:32:37
Info
package provider manually.

...

WARNING: Unable to resolve package source
April 16th 2019 10:32:42
Info
April 16th 2019 10:32:42
Info
VERBOSE: Total package yield:'0' for the specified package
April 16th 2019 10:32:42
Info
'SqlChangeAutomation'.
April 16th 2019 10:32:42
Warning
Could not find any suitable versions of SqlChangeAutomation from any registered PSRepository  
Tagged:

Best Answer

Answers

Sign In or Register to comment.