Skip to content

Revert "Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest (#20409)" - #25462

Merged
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
MartinGC94:Fix1
Apr 28, 2025
Merged

Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
MartinGC94:Fix1

Conversation

@MartinGC94

Copy link
Copy Markdown
Contributor

PR Summary

This reverts the changes made in this PR: #20409
That PR introduced a regression that caused a prefix set by DefaultCommandPrefix from a module manifest to always be ignored.

PR Context

Fixes #25419

PR Checklist

@iSazonov Ilya (iSazonov) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Apr 27, 2025
@iSazonov

This comment was marked as outdated.

@azure-pipelines

This comment was marked as outdated.

@iSazonov
Ilya (iSazonov) merged commit 2fc4821 into PowerShell:master Apr 28, 2025
@microsoft-github-policy-service

microsoft-github-policy-service Bot commented Apr 28, 2025 •

Copy link
Copy Markdown
Contributor

📣 Hey @MartinGC94, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request Dec 12, 2025
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DefaultCommandPrefix from Module PSD ignored after recent patch

2 participants