I am trying to run the below command but I am getting an error message:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Module -Name PackageManagement,PowerShellGet -AllowClobber -Force -SkipPublisherCheck
Error message:
WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use. Retry the operation after closing the applications.
I am running on a windows server and on PowerShell 5.1
.
I've tried to remove the module and uninstall the module and I get the same error, the server has also had a reboot and there are no other users on it.