You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
PS /root> save-Module -Name ImportExcel -literalPath ~ -v
VERBOSE: Acquiring providers for assembly: /opt/microsoft/powershell/6-preview/Modules/PackageManagement/1.1.7.0/coreclr/netcoreapp2.0/Microsoft.PackageManagement.CoreProviders.dll
VERBOSE: Acquiring providers for assembly: /opt/microsoft/powershell/6-preview/Modules/PackageManagement/1.1.7.0/coreclr/netcoreapp2.0/Microsoft.PackageManagement.NuGetProvider.dll
VERBOSE: Acquiring providers for assembly: /opt/microsoft/powershell/6-preview/Modules/PackageManagement/1.1.7.0/coreclr/netcoreapp2.0/Microsoft.PackageManagement.MetaProvider.PowerShell.dll
VERBOSE: Acquiring providers for assembly: /opt/microsoft/powershell/6-preview/Modules/PackageManagement/1.1.7.0/coreclr/netcoreapp2.0/Microsoft.PackageManagement.ArchiverProviders.dll
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'ImportExcel'.
VERBOSE: Performing the operation "Save Package" on target "'ImportExcel' to location '/root'".
VERBOSE: The specified module will be installed in '/root'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'ImportExcel' with version '5.1.1' from the repository 'https://www.powershellgallery.com/api/v2/'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='ImportExcel'' for ''.
VERBOSE: InstallPackage' - name='ImportExcel', version='5.1.1',destination='/tmp/151645995'
VERBOSE: DownloadPackage' - name='ImportExcel', version='5.1.1',destination='/tmp/151645995/ImportExcel.5.1.1/ImportExcel.5.1.1.nupkg', uri='https://www.powershellgallery.com/api/v2/package/ImportExcel/5.1.1'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/ImportExcel/5.1.1'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/ImportExcel/5.1.1'.
VERBOSE: Completed downloading 'ImportExcel'.
VERBOSE: InstallPackageLocal' - name='ImportExcel', version='5.1.1',destination='/tmp/151645995'
WARNING: Administrator rights are required to install or update. Log on to the computer with an account that has Administrator rights, and then try again, or install by adding "-Scope CurrentUser" to your command. You can also try running the Windows PowerShell session with elevated rights (Run as Administrator).
PackageManagement\Save-Package : Unable to save the module 'ImportExcel'.
At /opt/microsoft/powershell/6-preview/Modules/PowerShellGet/1.6.0/PSModule.psm1:1835 char:21
+ $null = PackageManagement\Save-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power...ets.SavePackage:SavePackage) [Save-Package], Exception
+ FullyQualifiedErrorId : ProviderFailToDownloadFile,Microsoft.PowerShell.PackageManagement.Cmdlets.SavePackage
Environment data
>$PSVersionTable
Name Value
---------
PSVersion 6.1.0-preview.4
PSEdition Core
GitCommitId 6.1.0-preview.4
OS Linux 4.4.0-17134-Microsoft #112-Microsoft Thu Jun 07 22:57:00 PST 2018
Platform Unix
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Steps to reproduce
Expected behavior
Actual behavior
Environment data