Create Local User List for multiple Hosts Automation

pzafian
pzafian Member Posts: 2
edited December 2023 in Automations

Adding this post to the Automations group.

Hi. I want to find someone who can help me develop a "relatively" automated solution to list all the local windows users on a group of Windows 10 PCs. Ideally this script could be run using an IT Automation assigned to the group of PCs and the results would be saved on the PC running the Atera Portal.

Then I'd like to develop a script that would remove a list of local users from a specific PC.

So far, I have figured out I can use the PS cmdlets Get-LocalUser and Remove-LocalUser and run these from the Manage/Powershell menu, but that still has me going to each PC and the output is displayed on the screen. Would like to automate this further and have output generate in a more useable fashion.

Please reply if you are interested.

Comments