Skip to content

Update-PSResource -Prerelease installs modules that are already the latest version #818

@alyssa1303

Description

@alyssa1303

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

Run Get-PSResource to return all existing modules.
Screenshot (5)

Then run Update-PSResource -Prerelease -Verbose to install the latest version of all modules if not already the latest
Run Get-PSResource again to check.
Screenshot (4)

It seems like modules with a trimmed latest version are not recognized as being the latest one, thus the command tries to update those modules again, and some of those modules weren't updated successfully.

This issue might be related to #464 and #800

Expected behavior

Update only modules that are not the latest version

Actual behavior

Update modules even though they are the latest version

Error details

VERBOSE: Searching in repository PSGallery
VERBOSE: Installed package Az.Accounts is up to date.
VERBOSE: Installed package Az.ContainerRegistry is up to date.
VERBOSE: Installed package PackageManagement is up to date.
VERBOSE: Installed package RequiredModule1 is up to date.
VERBOSE: Installed package RequiredModule2 is up to date.
VERBOSE: Installed package RequiredModule3 is up to date.
VERBOSE: Installed package RequiredModule4 is up to date.
VERBOSE: Installed package RequiredModule5 is up to date.
VERBOSE: Installed package TestModuleWithScript is up to date.
VERBOSE: Installed package Required-Script1 is up to date.
VERBOSE: Performing the operation "Update-PSResource" on target "package to update: '*'".
VERBOSE: Parameters passed in >>> Name: 'Az.Tools.Migration,Microsoft.PowerShell.SecretManagement,Microsoft.PowerShell.SecretStore,NuGet,Pester,platyPS,PowerShellForGitHub,PowerShellGet,PSPackageProject,PSScriptAnalyzer,PSReleaseTools,PSTeachingTools,TestModuleWithDependencyC,Install-VSCode'; Version: ''; Prerelease: 'True'; Repository: 'PSGallery'; AcceptLicense: 'False'; Quiet: 'False'; Reinstall: 'True'; TrustRepository: 'False'; NoClobber: 'False'; AsNupkg: 'False'; IncludeXml 'True'; SavePackage 'False'; TemporaryPath ''
VERBOSE: Attempting to search for packages in 'PSGallery'
VERBOSE: Untrusted repository accepted as trusted source.
VERBOSE: Null Type provided, so add PSGalleryScripts repository
VERBOSE: Searching in repository PSGallery
VERBOSE: Begin installing package: 'Az.Tools.Migration'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0\az.tools.migration\1.1.3\Az.Tools.Migration.1.1.3.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0\az.tools.migration\1.1.3\Az.Tools.Migration.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0\az.tools.migration\1.1.3\Az.Tools.Migration.1.1.3.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0\az.tools.migration\1.1.3\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0\az.tools.migration\1.1.3'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\Az.Tools.Migration\1.1.3'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0\az.tools.migration\1.1.3'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\Az.Tools.Migration\1.1.3'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0\az.tools.migration\1.1.3' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\Az.Tools.Migration\1.1.3'
VERBOSE: Successfully installed package 'Az.Tools.Migration' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\69329591-ab4c-4d59-b39d-4e8e2edd80e0'
VERBOSE: Begin installing package: 'Microsoft.PowerShell.SecretManagement'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c\microsoft.powershell.secretmanagement\1.1.2\Microsoft.PowerShell.SecretManagement.1.1.2.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c\microsoft.powershell.secretmanagement\1.1.2\Microsoft.PowerShell.SecretManagement.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c\microsoft.powershell.secretmanagement\1.1.2\Microsoft.PowerShell.SecretManagement.1.1.2.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c\microsoft.powershell.secretmanagement\1.1.2\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c\microsoft.powershell.secretmanagement\1.1.2'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\Microsoft.PowerShell.SecretManagement\1.1.2'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c\microsoft.powershell.secretmanagement\1.1.2'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\Microsoft.PowerShell.SecretManagement\1.1.2'
Update-PSResource: Unable to successfully install package 'Microsoft.PowerShell.SecretManagement': 'Cannot remove package path C:\Users\alyssavu\Documents\PowerShell\Modules\Microsoft.PowerShell.SecretManagement\1.1.2. The previous package contents have been restored.'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\2c8cad67-38b5-41a3-b81d-ead941f5a84c'
VERBOSE: Begin installing package: 'Microsoft.PowerShell.SecretStore'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59\microsoft.powershell.secretstore\1.0.6\Microsoft.PowerShell.SecretStore.1.0.6.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59\microsoft.powershell.secretstore\1.0.6\Microsoft.PowerShell.SecretStore.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59\microsoft.powershell.secretstore\1.0.6\Microsoft.PowerShell.SecretStore.1.0.6.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59\microsoft.powershell.secretstore\1.0.6\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59\microsoft.powershell.secretstore\1.0.6'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\Microsoft.PowerShell.SecretStore\1.0.6'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59\microsoft.powershell.secretstore\1.0.6'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\Microsoft.PowerShell.SecretStore\1.0.6'
Update-PSResource: Unable to successfully install package 'Microsoft.PowerShell.SecretStore': 'Cannot remove package path C:\Users\alyssavu\Documents\PowerShell\Modules\Microsoft.PowerShell.SecretStore\1.0.6. The previous package contents have been restored.'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\f506fd1e-d4ab-40be-ab02-1ba67806bc59'
VERBOSE: Begin installing package: 'NuGet'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6\nuget\1.3.3\NuGet.1.3.3.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6\nuget\1.3.3\NuGet.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6\nuget\1.3.3\NuGet.1.3.3.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6\nuget\1.3.3\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6\nuget\1.3.3'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\NuGet\1.3.3'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6\nuget\1.3.3'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\NuGet\1.3.3'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6\nuget\1.3.3' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\NuGet\1.3.3'
VERBOSE: Successfully installed package 'NuGet' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\0c3a205a-2c59-4bf2-bdb5-8cf74547a4b6'
VERBOSE: Begin installing package: 'Pester'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea\pester\5.3.3\Pester.5.3.3.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea\pester\5.3.3\Pester.nuspec'VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea\pester\5.3.3\Pester.5.3.3.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea\pester\5.3.3\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea\pester\5.3.3'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\Pester\5.3.3'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea\pester\5.3.3'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\Pester\5.3.3'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea\pester\5.3.3' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\Pester\5.3.3'
VERBOSE: Successfully installed package 'Pester' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\d8d43bb6-f752-4319-aa2c-68150993c7ea'
VERBOSE: Begin installing package: 'platyPS'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66\platyps\2.0.0-preview1\platyPS.2.0.0-preview1.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66\platyps\2.0.0-preview1\platyPS.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66\platyps\2.0.0-preview1\platyPS.2.0.0-preview1.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66\platyps\2.0.0-preview1\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66\platyps\2.0.0-preview1'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\platyPS\2.0.0'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66\platyps\2.0.0-preview1'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66\platyps\2.0.0-preview1' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\platyPS\2.0.0'
VERBOSE: Successfully installed package 'platyPS' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\b910726f-2895-4e7b-8fdb-0f64c5fd1e66'
VERBOSE: Begin installing package: 'PowerShellForGitHub'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9\powershellforgithub\0.16.1\PowerShellForGitHub.0.16.1.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9\powershellforgithub\0.16.1\PowerShellForGitHub.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9\powershellforgithub\0.16.1\PowerShellForGitHub.0.16.1.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9\powershellforgithub\0.16.1\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9\powershellforgithub\0.16.1'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\PowerShellForGitHub\0.16.1'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9\powershellforgithub\0.16.1'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\PowerShellForGitHub\0.16.1'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9\powershellforgithub\0.16.1' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\PowerShellForGitHub\0.16.1'
VERBOSE: Successfully installed package 'PowerShellForGitHub' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\6ed1c58f-a531-4b55-bca6-6e19fca1cdc9'
VERBOSE: Begin installing package: 'PowerShellGet'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84\powershellget\3.0.17-beta17\PowerShellGet.3.0.17-beta17.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84\powershellget\3.0.17-beta17\PowerShellGet.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84\powershellget\3.0.17-beta17\PowerShellGet.3.0.17-beta17.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84\powershellget\3.0.17-beta17\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84\powershellget\3.0.17-beta17'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\PowerShellGet\3.0.17'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84\powershellget\3.0.17-beta17'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\PowerShellGet\3.0.17'
Update-PSResource: Unable to successfully install package 'PowerShellGet': 'Cannot remove package path C:\Users\alyssavu\Documents\PowerShell\Modules\PowerShellGet\3.0.17. The previous package contents have been restored.'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\a11fbef9-91ac-4384-9991-7fe8cdae6e84'
VERBOSE: Begin installing package: 'PSPackageProject'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd\pspackageproject\0.1.18\PSPackageProject.0.1.18.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd\pspackageproject\0.1.18\PSPackageProject.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd\pspackageproject\0.1.18\PSPackageProject.0.1.18.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd\pspackageproject\0.1.18\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd\pspackageproject\0.1.18'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSPackageProject\0.1.18'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd\pspackageproject\0.1.18'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\PSPackageProject\0.1.18'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd\pspackageproject\0.1.18' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSPackageProject\0.1.18'
VERBOSE: Successfully installed package 'PSPackageProject' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\e22fe5ed-4366-46a9-a911-8ded64cb94fd'
VERBOSE: Begin installing package: 'PSScriptAnalyzer'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1\psscriptanalyzer\1.20.0\PSScriptAnalyzer.1.20.0.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1\psscriptanalyzer\1.20.0\PSScriptAnalyzer.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1\psscriptanalyzer\1.20.0\PSScriptAnalyzer.1.20.0.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1\psscriptanalyzer\1.20.0\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1\psscriptanalyzer\1.20.0'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSScriptAnalyzer\1.20.0'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1\psscriptanalyzer\1.20.0'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\PSScriptAnalyzer\1.20.0'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1\psscriptanalyzer\1.20.0' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSScriptAnalyzer\1.20.0'
VERBOSE: Successfully installed package 'PSScriptAnalyzer' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\15486741-422a-4cb8-9654-d2df77708ee1'
VERBOSE: Begin installing package: 'PSReleaseTools'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570\psreleasetools\1.12.0\PSReleaseTools.1.12.0.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570\psreleasetools\1.12.0\PSReleaseTools.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570\psreleasetools\1.12.0\PSReleaseTools.1.12.0.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570\psreleasetools\1.12.0\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570\psreleasetools\1.12.0'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSReleaseTools\1.12.0'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570\psreleasetools\1.12.0'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\PSReleaseTools\1.12.0'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570\psreleasetools\1.12.0' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSReleaseTools\1.12.0'
VERBOSE: Successfully installed package 'PSReleaseTools' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\1c30085c-d059-41eb-a9ce-4265b186c570'
VERBOSE: Begin installing package: 'PSTeachingTools'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7\psteachingtools\4.2.0\PSTeachingTools.4.2.0.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7\psteachingtools\4.2.0\PSTeachingTools.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7\psteachingtools\4.2.0\PSTeachingTools.4.2.0.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7\psteachingtools\4.2.0\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7\psteachingtools\4.2.0'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSTeachingTools\4.2.0'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7\psteachingtools\4.2.0'
VERBOSE: Attempting to delete with restore on failure.'C:\Users\alyssavu\Documents\PowerShell\Modules\PSTeachingTools\4.2.0'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7\psteachingtools\4.2.0' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\PSTeachingTools\4.2.0'
VERBOSE: Successfully installed package 'PSTeachingTools' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\b1ce907b-5a8b-4a33-8c94-8be72157afe7'
VERBOSE: Begin installing package: 'TestModuleWithDependencyC'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29\testmodulewithdependencyc\5.0.0\TestModuleWithDependencyC.5.0.0.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29\testmodulewithdependencyc\5.0.0\TestModuleWithDependencyC.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29\testmodulewithdependencyc\5.0.0\TestModuleWithDependencyC.5.0.0.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29\testmodulewithdependencyc\5.0.0\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29\testmodulewithdependencyc\5.0.0'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyC\5.0'
VERBOSE: Temporary module version directory is: 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29\testmodulewithdependencyc\5.0.0'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29\testmodulewithdependencyc\5.0.0' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyC\5.0'
VERBOSE: Successfully installed package 'TestModuleWithDependencyC' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\7939ea9e-df86-4c14-ae48-442f6840fe29'
VERBOSE: Begin installing package: 'TestModuleWithDependencyB'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f\testmodulewithdependencyb\3.0.0\TestModuleWithDependencyB.3.0.0.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f\testmodulewithdependencyb\3.0.0\TestModuleWithDependencyB.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f\testmodulewithdependencyb\3.0.0\TestModuleWithDependencyB.3.0.0.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f\testmodulewithdependencyb\3.0.0\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f\testmodulewithdependencyb\3.0.0'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyB\3.0'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f\testmodulewithdependencyb\3.0.0' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyB\3.0'
VERBOSE: Successfully installed package 'TestModuleWithDependencyB' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\01f752d4-3d0d-4a2c-8c1b-b9da07da5b4f'
VERBOSE: Begin installing package: 'TestModuleWithDependencyD'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b\testmodulewithdependencyd\2.0.0\TestModuleWithDependencyD.2.0.0.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b\testmodulewithdependencyd\2.0.0\TestModuleWithDependencyD.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b\testmodulewithdependencyd\2.0.0\TestModuleWithDependencyD.2.0.0.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b\testmodulewithdependencyd\2.0.0\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b\testmodulewithdependencyd\2.0.0'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyD\2.0'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b\testmodulewithdependencyd\2.0.0' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyD\2.0'
VERBOSE: Successfully installed package 'TestModuleWithDependencyD' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\06d37672-2b49-4670-8762-6a596635c38b'
VERBOSE: Begin installing package: 'TestModuleWithDependencyF'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111\testmodulewithdependencyf\1.0.0\TestModuleWithDependencyF.1.0.0.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111\testmodulewithdependencyf\1.0.0\TestModuleWithDependencyF.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111\testmodulewithdependencyf\1.0.0\TestModuleWithDependencyF.1.0.0.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111\testmodulewithdependencyf\1.0.0\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111\testmodulewithdependencyf\1.0.0'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyF\1.0'
VERBOSE: Attempting to move 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111\testmodulewithdependencyf\1.0.0' to 'C:\Users\alyssavu\Documents\PowerShell\Modules\TestModuleWithDependencyF\1.0'
VERBOSE: Successfully installed package 'TestModuleWithDependencyF' to location 'C:\Users\alyssavu\Documents\PowerShell\Modules'
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\66d59dc1-bdf7-4437-b6a1-b47085f93111'
VERBOSE: Begin installing package: 'Install-VSCode'
VERBOSE: Successfully able to download package from source to: 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a\install-vscode\1.4.3\Install-VSCode.1.4.3.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a\install-vscode\1.4.3\Install-VSCode.nuspec'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a\install-vscode\1.4.3\Install-VSCode.1.4.3.nupkg'
VERBOSE: Deleting 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a\install-vscode\1.4.3\.nupkg.metadata'
VERBOSE: Installation source path is: 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a\install-vscode\1.4.3'
VERBOSE: Installation destination path is: 'C:\Users\alyssavu\Documents\PowerShell\Scripts'
VERBOSE: Checking if path 'True' exists:
VERBOSE: Deleting script metadata XML
VERBOSE: Moving 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a\install-vscode\1.4.3\Install-VSCode_InstalledScriptInfo.xml' to 'C:\Users\alyssavu\Documents\PowerShell\Scripts\InstalledScriptInfos\Install-VSCode_InstalledScriptInfo.xml'
VERBOSE: Checking if path 'True' exists:
VERBOSE: Deleting script file
VERBOSE: Moving 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a\install-vscode\1.4.3\Install-VSCode.ps1' to 'C:\Users\alyssavu\Documents\PowerShell\Scripts\Install-VSCode.ps1'
VERBOSE: Successfully installed package 'Install-VSCode' to location 'C:\Users\alyssavu\Documents\PowerShell\Scripts'
WARNING: The installation path for the script does not currently appear in the CurrentUser path environment variable. To make the script discoverable, add the script installation path, C:\Users\alyssavu\Documents\PowerShell\Scripts, to the environment PATH variable.
VERBOSE: Attempting to delete 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a'
VERBOSE: Successfully deleted 'C:\Users\alyssavu\AppData\Local\Temp\fb9c35c1-69e4-4f1d-b37f-da066414bf4a'

Environment data

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     3.0.17     beta17     PowerShellGet                       {Find-PSResource, Get-PSResource, Get-PSResourceRepository, Install-PSResource…}

Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
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

Visuals

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions