As per the devblog, this command should install the module; however, it does not work.
Expected behavior
Module version v2.0.1-preview1 should install
Actual behavior
v2.0.1-preview1 does not install:
PS C:\> $VerbosePreference = [System.Management.Automation.ActionPreference]::Continue
PS C:\> Install-Module Microsoft.PowerShell.Archive -AllowPrerelease
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='Microsoft.PowerShell.Archive'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'Microsoft.PowerShell.Archive'.
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\flesniak\OneDrive - West Monroe Partners\Documents\PowerShell\Modules'.
VERBOSE: Version '1.2.5' of module 'Microsoft.PowerShell.Archive' is already installed at 'C:\program files\windowsapps\microsoft.powershell_7.3.8.0_x64__8wekyb3d8bbwe\Modules\Microsoft.PowerShell.Archive'.
PS C:\> Get-Module -Name Microsoft.PowerShell.Archive -ListAvailable
Directory: C:\program files\windowsapps\microsoft.powershell_7.3.8.0_x64__8wekyb3d8bbwe\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Manifest 1.2.5 Microsoft.PowerShell.Archive Desk {Compress-Archive, Expand-Archive}
PS C:\>
Error details
There is no error; it just doesn't work
Environment data
PS C:\> $PSVersionTable
Name Value
---- -----
PSVersion 7.3.8
PSEdition Core
GitCommitId 7.3.8
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Prerequisites
Steps to reproduce
Install-Module Microsoft.PowerShell.Archive -AllowPrerelease
As per the devblog, this command should install the module; however, it does not work.
Expected behavior
Actual behavior
Error details
Environment data
Version
v2.0.1-preview1
Visuals
No response