feat(toolkit): add bulk delete tool, fix TUI exit hang and tenant re-prompt
- New Scripts/Bulk-DeletePolicies.ps1: type-DELETE confirmation, -WhatIf dry-run - Fix infinite loop in Start-IntuneToolkit.ps1 when fzf missing (numbered-menu Exit returned "EXIT" but check only matched fzf's "[Exit]" string) - Start-IntuneManagementTui.ps1 no longer re-prompts for TenantId when the launcher already resolved one; also fixes misleading "regex" wording on the Name filter prompt (it's a literal substring match) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,7 +84,7 @@ if($Interactive)
|
||||
$tuiScript = Join-Path (Split-Path -Parent $PSScriptRoot) "Scripts/Private/Start-IntuneManagementTui.ps1"
|
||||
if(Test-Path $tuiScript)
|
||||
{
|
||||
$tuiResult = & $tuiScript
|
||||
$tuiResult = & $tuiScript -TenantId $TenantId
|
||||
if(-not $tuiResult) { Write-Host "No selection made. Exiting." -ForegroundColor Yellow; exit 0 }
|
||||
foreach($prop in $tuiResult.PSObject.Properties)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user