🧪 Updating tests
The Maester team will add new tests over time. To get the latest updates, use the commands below to update your GitHub repository with the latest tests.
Step 1: Change to the folder with your tests
Section titled “Step 1: Change to the folder with your tests”Open a command prompt and navigate to the folder where you have your Maester tests.
cd maester-testsStep 2: Update the Maester module
Section titled “Step 2: Update the Maester module”Update the Maester PowerShell module to the latest version and load it.
Update-Module Maester -ForceImport-Module MaesterStep 3: Update the tests folder
Section titled “Step 3: Update the tests folder”You will be prompted to confirm changes to the tests folder.
- All of your custom tests in the
/Customfolder will be preserved. - The test files in the other folders including
/EIDSCA,/Maesterand/CISAwill be overwritten with the latest tests.
Update-MaesterTests