Remove-FinOpsHub PowerShell Command Does Not Accept/Respect "Yes to All" #1187
Labels
Tool: FinOps hubs
Data pipeline solution
Tool: PowerShell
PowerShell scripts and automation
Type: Bug 🐛
Something isn't working
Milestone
🐛 Problem
When running the
Remove-FinOpsHub
PowerShell command, you are prompted with the following:However, even if you enter "A" for "Yes to all", it ignores this, and prompts for confirmation for every single resource.
👣 Repro steps
Remove-FinOpsHub -Name "HUB_NAME"
and enterA
on the initial prompt🤔 Expected
The expectation is that we will not be prompted for every single resource deletion, if we've indicated "Yes to All"
📷 Screenshots
Note
Ignore the error about not being able to delete the NSG because it's in use. Although, ideally the
Remove-FinOpsHub
command should identify this, and de-associate it, so that it can be deleted as part of Hub removal.ℹ️ Additional context
Installed PowerShell Modules
🙋♀️ Ask for the community
We could use your help:
The text was updated successfully, but these errors were encountered: