Dot sourcing can simplify large PowerShell scripts -- but without a clear structure, it can quickly lead to chaos.
When we evaluate the report from the script, it doesn't align with what we're seeing in our environment. In the report, devices that are shown to have an unlock token, don't work with a passcode reset ...