Windows angemeldete Nutzer anzeigen

All the scripts are normal Powershell scripts and should be no problem inside a Windows environment.
The script from @cjcox already produces the needed output as a local check.
You only need to put this script inside your folder with the local checks and that’s it.