Comments on: Update PowerShellGet and PackageManagement https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/ Cloud and Datacenter Blog focusing on Microsoft Azure Sun, 10 Jan 2021 17:07:19 +0000 hourly 1 https://wordpress.org/?v=6.4.1 By: Henry Morales https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-843142 Sun, 10 Jan 2021 17:07:19 +0000 https://www.thomasmaurer.ch/?p=11716#comment-843142 Very helpful, updated the Teams Module preview 1.1.10 today. Had to run Update-Module with Install-Module.

]]>
By: Mark MacLachlan https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-805643 Fri, 31 Jul 2020 18:00:30 +0000 https://www.thomasmaurer.ch/?p=11716#comment-805643 I got the same error. This fixed it for me.

Get-Module | Remove-Module

]]>
By: Leonardo Oliveira https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-748711 Mon, 06 Jan 2020 00:53:49 +0000 https://www.thomasmaurer.ch/?p=11716#comment-748711 Is there a way to open pwsh 6 as default?

I mean, currently when I use the cmd shortcut (winkey+x; a) it opens pws 5.1.

There’s no problem in having both, I just wanted to use pwsh 6 as default.

]]>
By: Jürgen https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-745041 Sat, 30 Nov 2019 12:44:28 +0000 https://www.thomasmaurer.ch/?p=11716#comment-745041 Hi,

I get messsage

WARNUNG: The version ‘1.4.5’ of module ‘PackageManagement’ is currently in use. Retry the operation after closing the
applications.

How I close that?

Regardings Jürgen

]]>
By: Thomas Maurer https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-738334 Fri, 27 Sep 2019 14:45:31 +0000 https://www.thomasmaurer.ch/?p=11716#comment-738334 In reply to mahmudul hasan.

Hi Mahmudul
You can type: pwsh to open PowerShell Core 6 from cmd.

]]>
By: mahmudul hasan https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-738331 Fri, 27 Sep 2019 13:59:35 +0000 https://www.thomasmaurer.ch/?p=11716#comment-738331 Hello Sir,When I wrote ‘powershell’ on win10x64 CMD , PowerShell 5.1 was opened as usual.Is there any chance of opening ‘PSCore 6’ from win10x64 CMD?Thank you.

]]>
By: Thomas Maurer https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-731596 Sat, 01 Jun 2019 14:23:37 +0000 https://www.thomasmaurer.ch/?p=11716#comment-731596 In reply to Paolo.

Hi Paolo

Today PSCore 6 and Windows PowerShell 5.1 are side by side installations. You are not able to remove Windows PowerShell 5.1 :)

]]>
By: Paolo https://www.thomasmaurer.ch/2019/02/update-powershellget-and-packagemanagement/#comment-731594 Sat, 01 Jun 2019 13:43:12 +0000 https://www.thomasmaurer.ch/?p=11716#comment-731594 Hi, I’ve just installed PS6 and I’d like to use as an update from the default version 5.1 on win10x64. How do I use 6 as default overwritting version 5? Because today I have 2 versions running and I really don’t need it. Thank you.

]]>