| title |
|---|
🧪 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.
Open a command prompt and navigate to the folder where you have your Maester tests.
cd maester-testsUpdate the Maester PowerShell module to the latest version and load it.
Update-Module Maester -Force
Import-Module MaesterYou 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:::note
If you are not seeing the latest tests, try closing and reopening your PowerShell session after completing Step 2 (Update-Module).
:::