This is a starter repository of Maester tests that you can clone to get started with Maester.
To get started, install the Maester module, sign into your tenant and run Invoke-Maester to run the tests we've created for you.
Install-Module Maester -Scope CurrentUser
Connect-Maester
Invoke-Maester
See Maester.dev to learn more about writing your own tenant specific tests, setting up continous monitoring of your tenant and more.
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-tests\tests
Update the Maester PowerShell module to the latest version and load it.
Update-Module Maester -Force
Import-Module Maester
You will be prompted to confirm changes to the tests folder.
- All of your custom tests in the
/Custom
folder will be preserved. - The test files in the other folders including
/EIDSCA
,/Maester
and/CISA
will be overwritten with the latest tests.
Update-MaesterTests
If you are not seeing the latests tests, try closing and reopening your PowerShell session after completing Step 2 (Update-Module
).
Note
This repository is a copy of the /tests
folder from the main https://github.com/maester365/maester repository.
Please open pull-requests and open issues in the main repository.