Skip to content

Commit

Permalink
Fixed wrong param name in examples for both scripts and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunoga-MS committed Sep 5, 2024
1 parent 207107d commit e36bb68
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/content/patterns/alz/Cleaning-up-a-Deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Follow the instructions below to download the cleanup script file. Alternatively
**Show output of what would happen if deletes executed:**
```powershell
./Start-AMBACleanup.ps1 -pseudoManagementGroup $pseudoRootManagementGroup -WhatIf
./Start-AMBACleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -WhatIf
```
**Execute the script asking for confirmation before deleting the resources deployed by AMBA-ALZ:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Updating from release [2023-11-14](../../Whats-New#2023-11-14) will require runn
**Show output of what would happen if deletes executed:**

```powershell
./Start-AMBAOldArpCleanup.ps1 -pseudoManagementGroup $pseudoRootManagementGroup -WhatIf
./Start-AMBAOldArpCleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -WhatIf
```

**Execute the script asking for confirmation before deleting old Service Health action group(s) deployed by AMBA-ALZ:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To run the script, complete the following step:
**Show output of what would happen if deletes executed:**

```powershell
./Remove-AMBANotificationAssets.ps1 -pseudoManagementGroup $pseudoRootManagementGroup -WhatIf
./Remove-AMBANotificationAssets.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -WhatIf
```

**Execute the script asking for confirmation before deleting notification asset resources deployed by AMBA-ALZ:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To run the script, complete the following steps:
**Show output of what would happen if deletes executed:**

```powershell
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoManagementGroup $pseudoRootManagementGroup -WhatIf
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -WhatIf
```

**Execute the script asking for confirmation before deleting the policy definitions, policy set definitions, policy assignments and role assignments deployed by AMBA-ALZ:**
Expand Down
6 changes: 3 additions & 3 deletions patterns/alz/scripts/Remove-AMBADeployments.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
https://github.com/Azure/azure-monitor-baseline-alerts
.EXAMPLE
./Remove-AMBADeployments.ps1 -pseudoManagementGroup Contoso -WhatIf
./Remove-AMBADeployments.ps1 -pseudoRootManagementGroup Contoso -WhatIf
# show output of what would happen if deletes executed.
.EXAMPLE
./Remove-AMBADeployments.ps1 -pseudoManagementGroup Contoso
./Remove-AMBADeployments.ps1 -pseudoRootManagementGroup Contoso
# execute the script and will ask for confirmation before taking the configured action.
.EXAMPLE
./Remove-AMBADeployments.ps1 -pseudoManagementGroup Contoso -Confirm:$false
./Remove-AMBADeployments.ps1 -pseudoRootManagementGroup Contoso -Confirm:$false
# execute the script without asking for confirmation before taking the configured action.
#>
Expand Down
6 changes: 3 additions & 3 deletions patterns/alz/scripts/Remove-AMBANotificationAssets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
https://github.com/Azure/azure-monitor-baseline-alerts
.EXAMPLE
./Remove-AMBANotificationAssets.ps1 -pseudoManagementGroup Contoso -WhatIf
./Remove-AMBANotificationAssets.ps1 -pseudoRootManagementGroup Contoso -WhatIf
# show output of what would happen if deletes executed.
.EXAMPLE
./Remove-AMBANotificationAssets.ps1 -pseudoManagementGroup Contoso
./Remove-AMBANotificationAssets.ps1 -pseudoRootManagementGroup Contoso
# execute the script and will ask for confirmation before taking the configured action.
.EXAMPLE
./Remove-AMBANotificationAssets.ps1 -pseudoManagementGroup Contoso -Confirm:$false
./Remove-AMBANotificationAssets.ps1 -pseudoRootManagementGroup Contoso -Confirm:$false
# execute the script without asking for confirmation before taking the configured action.
#>
Expand Down
6 changes: 3 additions & 3 deletions patterns/alz/scripts/Start-AMBACleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
https://github.com/Azure/azure-monitor-baseline-alerts
.EXAMPLE
./Start-AMBACleanup.ps1 -pseudoManagementGroup Contoso -WhatIf
./Start-AMBACleanup.ps1 -pseudoRootManagementGroup Contoso -WhatIf
# show output of what would happen if deletes executed.
.EXAMPLE
./Start-AMBACleanup.ps1 -pseudoManagementGroup Contoso
./Start-AMBACleanup.ps1 -pseudoRootManagementGroup Contoso
# execute the script and will ask for confirmation before taking the configured action.
.EXAMPLE
./Start-AMBACleanup.ps1 -pseudoManagementGroup Contoso -Confirm:$false
./Start-AMBACleanup.ps1 -pseudoRootManagementGroup Contoso -Confirm:$false
# execute the script without asking for confirmation before taking the configured action.
#>

Expand Down
6 changes: 3 additions & 3 deletions patterns/alz/scripts/Start-AMBAOldArpCleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
https://github.com/Azure/azure-monitor-baseline-alerts
.EXAMPLE
./Start-AMBAOldArpCleanup.ps1 -pseudoManagementGroup Contoso -WhatIf
./Start-AMBAOldArpCleanup.ps1 -pseudoRootManagementGroup Contoso -WhatIf
# show output of what would happen if deletes executed.
.EXAMPLE
./Start-AMBAOldArpCleanup.ps1 -pseudoManagementGroup Contoso
./Start-AMBAOldArpCleanup.ps1 -pseudoRootManagementGroup Contoso
# execute the script and will ask for confirmation before taking the configured action.
.EXAMPLE
./Start-AMBAOldArpCleanup.ps1 -pseudoManagementGroup Contoso -Confirm:$false
./Start-AMBAOldArpCleanup.ps1 -pseudoRootManagementGroup Contoso -Confirm:$false
# execute the script without asking for confirmation before taking the configured action.
#>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
https://github.com/Azure/azure-monitor-baseline-alerts
.EXAMPLE
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoManagementGroup Contoso -WhatIf
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoRootManagementGroup Contoso -WhatIf
# show output of what would happen if deletes executed.
.EXAMPLE
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoManagementGroup Contoso
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoRootManagementGroup Contoso
# execute the script and will ask for confirmation before taking the configured action.
.EXAMPLE
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoManagementGroup Contoso -Confirm:$false
./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoRootManagementGroup Contoso -Confirm:$false
# execute the script without asking for confirmation before taking the configured action.
#>

Expand Down

0 comments on commit e36bb68

Please sign in to comment.