Check local administrators – PowerShell

Check local administrators – PowerShell

Often in companies, we encounter a situation where many individuals have local administrator privileges. This results in numerous applications being present on computers that should never be there, significantly increasing the risk of computer infections.

I have prepared a simple script that can be included in a GPO (Group Policy Object) to run, for instance, during computer shutdown. The script saves data to a file, for example, on a shared drive or in the SYSVOL directory.

Komentarze

Nie ma jeszcze komentarzy. Może zaczniesz dyskusję?

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *