del/add local Admins - with SMA K1000 via Powershell only
The main reason for using Powershell only is the compatibilty. And VBScript will be discontinued in near future.
We got around 100-200Clients in a Company. We have DELL- / HP- / Lenovo- / Citrix- / Surface-Clients etc. with different local Admins.
We want: #1. delete unwanted admins except the default Administrator (in different languages)
#2. add 1 local Admin (User + move to local admin group (different languages))
Every Client got an Agent (hopefully) - We want to execute this Script silenty (nobody notice anything), and the password from this admin must be hidden and/or encrypted.
greetings, sry for my english