Skip to content

Handle obsoletes for v7 - #6200

Merged
rbev merged 4 commits into
masterfrom
obsolete-changes-v7
Nov 27, 2026
Merged

rbev merged 4 commits into
masterfrom
obsolete-changes-v7

Conversation

@rbev

@rbev rbev commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

This pull request removes the obsolete implementations of the Add-UrlAcl, Get-UrlAcls, and Remove-UrlAcl PowerShell cmdlets and consolidates their error-only definitions into a single file. This enforces that these commands now always produce errors, reflecting that ServiceControl no longer requires URL reservations and users should use the native netsh commands instead.

Obsolete PowerShell Cmdlets Removal and Consolidation:

  • Removed the full implementations of AddUrlAcl, GetUrlAcls, and RemoveUrlAcl cmdlets from their respective files, ensuring they no longer function. [1] [2] [3]
  • Added a new file, obsoletes-v7.cs, which defines error-only versions of these cmdlets with [Obsolete(..., true)] attributes to guarantee they always throw an error if used.

@johnsimons
johnsimons enabled auto-merge November 27, 2026 04:10
@rbev
rbev disabled auto-merge November 27, 2026 04:25
@rbev
rbev enabled auto-merge (squash) November 27, 2026 04:25
@rbev
rbev merged commit 6b2c89a into master Nov 27, 2026
36 checks passed
@rbev
rbev deleted the obsolete-changes-v7 branch November 27, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants