Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove-IISSiteBinding does not have a -Force parameter #21252

Closed
danielgreen opened this issue Feb 20, 2024 · 6 comments
Closed

Remove-IISSiteBinding does not have a -Force parameter #21252

danielgreen opened this issue Feb 20, 2024 · 6 comments
Labels
Issue-Enhancement the issue is more of a feature request than a bug

Comments

@danielgreen
Copy link

danielgreen commented Feb 20, 2024

Summary of the new feature / enhancement

In the IISAdministration module, Remove-IISSiteBinding should have a -Force parameter, to allow it to be used in non-interactive deployment scenarios.

New-IISSiteBinding does support -Force so it is unclear why Remove-IISSiteBinding does not.

@danielgreen danielgreen added Issue-Enhancement the issue is more of a feature request than a bug Needs-Triage The issue is new and needs to be triaged by a work group. labels Feb 20, 2024
@rhubarb-geek-nz
Copy link

I don't think Remove-IISSiteBinding is part of PowerShell Core. It is also not present in Windows PowerShell 5.1

Can you confirm what module it is part of?

PS> Get-Command Remove-IISSiteBinding
Get-Command: The term 'Remove-IISSiteBinding' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

@danielgreen
Copy link
Author

danielgreen commented Feb 20, 2024

I don't think Remove-IISSiteBinding is part of PowerShell Core. It is also not present in Windows PowerShell 5.1

Can you confirm what module it is part of?

PS> Get-Command Remove-IISSiteBinding
Get-Command: The term 'Remove-IISSiteBinding' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

It's in the IISAdministration module

@rhubarb-geek-nz
Copy link

As far as I can tell is was part of Windows Server and now available from the gallery

IISAdministration

Unfortunately there is not a related project listed to report issues to so looks like a Microsoft issue.

@mklement0
Copy link
Contributor

The official advice for reporting issues with modules that ship with Windows and aren't open-source, taken from the now obsolete PowerShellModuleCoverage repo, is (emphasis added):

NOTE To report problems with modules that ship in Windows, use the Windows Feedback Hub. For more information, see Send feedback to Microsoft with the Feedback Hub app.

@danielgreen
Copy link
Author

Thank you @mklement0

Copy link
Contributor

microsoft-github-policy-service bot commented Feb 21, 2024

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

🔗 https://aka.ms/PSRepoFeedback

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage The issue is new and needs to be triaged by a work group. label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement the issue is more of a feature request than a bug
Projects
None yet
Development

No branches or pull requests

3 participants