-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
I am seeing this weird issue with PowerShell 7.5.2
.
I was trying to install PowerShell module, it was starting, and nothing happened. And then tried different PS commands, all seems to be behaving the same.
Uninstalled and reinstalled, still the same.
with Trace logging,
Get-InstalledModule
DEBUG: 1+ >>>> Get-InstalledModule
DEBUG: 2234+ >>>> {
DEBUG: 2235+ >>>> $ValidationResult = Validate-VersionParameters -CallerPSCmdlet $PSCmdlet `
DEBUG: 6420+ >>>> {
DEBUG: 6452+ if( >>>> $TestWildcardsInName -and $Name -and (Test-WildcardPattern -Name "$Name"))
DEBUG: 6461+ elseif( >>>> $AllVersions -and ($RequiredVersion -or $MinimumVersion -or $MaximumVersion))
DEBUG: 6469+ elseif( >>>> $RequiredVersion -and ($MinimumVersion -or $MaximumVersion))
DEBUG: 6477+ elseif( >>>> $MinimumVersion -and $MaximumVersion -and ($MinimumVersion -gt $MaximumVersion))
DEBUG: 6486+ elseif( >>>> $AllVersions -or $RequiredVersion -or $MinimumVersion -or $MaximumVersion)
DEBUG: 6498+ return >>>> $true
DEBUG: 6499+ >>>> }
DEBUG: 2242+ if( >>>> -not $ValidationResult)
DEBUG: 2249+ >>>> $PSBoundParameters["Provider"] = $script:PSModuleProviderName
DEBUG: 2250+ >>>> $PSBoundParameters["MessageResolver"] = $script:PackageManagementMessageResolverScriptBlock
DEBUG: 2251+ >>>> $PSBoundParameters[$script:PSArtifactType] = $script:PSArtifactTypeModule
DEBUG: 2253+ >>>> PackageManagement\Get-Package @PSBoundParameters | Microsoft.PowerShell.Core\ForEach-Object {New-PSGetItemInfo -SoftwareIdentity $_ -Type $script:PSArtifactTypeModule}
I am not sure this is easily reproducable, where should I look for any additional internal logs? Nothing on C:\Program Files\PowerShell\7
.
Expected behavior
Command needs to execute
Actual behavior
Command doesn't execute
Error details
Not seeing any errors. It's just doesn't continue.
Environment data
Name Value
---- -----
PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.26100
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
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.