From bf54e820cf7ab812a1bd8b02ada02ae6913ee0df Mon Sep 17 00:00:00 2001 From: Arjen Huitema Date: Sat, 31 Aug 2024 00:28:29 +0200 Subject: [PATCH] chore: Update directory path for script in ALZ documentation --- .../UpdateToNewReleases/Update_from_release_2024-06-05.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/content/patterns/alz/UpdateToNewReleases/Update_from_release_2024-06-05.md b/docs/content/patterns/alz/UpdateToNewReleases/Update_from_release_2024-06-05.md index 7f046b64b..ec37588fa 100644 --- a/docs/content/patterns/alz/UpdateToNewReleases/Update_from_release_2024-06-05.md +++ b/docs/content/patterns/alz/UpdateToNewReleases/Update_from_release_2024-06-05.md @@ -23,7 +23,7 @@ To run the script, complete the following steps: 1. Open PowerShell 2. Install the **Az.ResourceGraph** module: `Install-Module Az.ResourceGraph` (if not present) - 3. Change directories to the location of the **Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1** script + 3. Change directory to `patterns\alz\scripts`, there you find the **Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1** script 4. Configure the ***$pseudoRootManagementGroup*** variable using the following command: ```powershell @@ -42,12 +42,6 @@ To run the script, complete the following steps: ./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -ReportOnly ``` - **Show output of what would happen if deletes executed:** - - ```powershell - ./Start-AMBAPolicyInitiativesAndAssignmentsCleanup.ps1 -pseudoRootManagementGroup $pseudoRootManagementGroup -WhatIf - ``` - **Delete policy definitions, policy set definitions, policy assignments and role assignments resources deployed by the AMBA-ALZ pattern without prompting for confirmation:** ```powershell