feat(bulk): add bulk scope tag tool
Scripts/Bulk-ScopeTags.ps1 (menu item 24) adds, replaces or removes scope tags across object types, optionally filtered by name, or cleans up tag ids that no longer exist. Shows the plan per type, supports -WhatIf and -Force, applies changes with batched PATCH requests and skips objects whose tag list would not change. Design follows upstream 4.0 Set-GraphBulkScopeTags.
This commit is contained in:
@@ -339,6 +339,7 @@ $menuItems = @(
|
||||
"4. Bulk assignment manager (policies)"
|
||||
"8. Bulk rename policies"
|
||||
"21. Bulk delete policies"
|
||||
"24. Bulk scope tags (add / replace / remove / clean up)"
|
||||
"9. Bulk device operations"
|
||||
# Baselines & compliance
|
||||
"10. Deploy baseline"
|
||||
@@ -399,6 +400,7 @@ while($true)
|
||||
7 { $script = "Scripts/Export-AssignmentsToCsv.ps1" }
|
||||
8 { $script = "Scripts/Bulk-RenamePolicies.ps1" }
|
||||
21 { $script = "Scripts/Bulk-DeletePolicies.ps1" }
|
||||
24 { $script = "Scripts/Bulk-ScopeTags.ps1" }
|
||||
9 { $script = "Scripts/Bulk-DeviceOperations.ps1" }
|
||||
10 { $script = "Scripts/Deploy-IntuneBaseline.ps1" }
|
||||
11 { $script = "Scripts/Deploy-IntuneBaseline.ps1" }
|
||||
|
||||
Reference in New Issue
Block a user