Using both desktop Powershell 5.1 and Powershell Core 6.1
问题 I was playing with PS.Core 6.1 in my VS Code - made it the default shell, opened PS debugging sessions with it, opened its console, etc ... Now I am opening the regular desktop Powershell 5.1 and get this: Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:\Users\me> get-module ModuleType Version Name ExportedCommands ---------- ------- ---- ---------------- Manifest 6.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}