maester
maester copied to clipboard
Get-MTUser -UserType Member sometimes returns administrative users
From a regression testing perspective it would be great if we could use Get-MTUser -UserType 'Admin'
and it return non-administrative accounts only. An alternative would be something along the lines of Get-MTUser -UserType 'NonAdmin'
or Get-MTUser -UserType 'Standard'
.
My reasoning behind this is to support an easier regression testing methodology as currently I am looking at populating a group with users for Non-Administrative MFA testing.
You can now get administrative users with Get-MtRoleMember