Create Local User List for multiple Hosts Automation
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
-
I actually will need to implement something like this soon.
Honestly shouldn't be too hard to make.Poke me next week if I don't respond sooner.
1 -
1
-
Hi @pzafian!
I just realized I replied to your newer post here:
The Shared Script Library is super helpful and there are a few scripts that would work with your request. What's cool too is that if you open a script it also says who wrote the script, so if there is a modification that you are looking for, you might be able to reach out to them and get it modified. Then once modified, you can submit it as a new script especially if it can do all the clients you are trying to scope. I know I would find that helpful.
Sincerely,
Kim
2 -
Posted a script here for anyone finding this later:
1
Topics
- All Topics
- 40 Getting started
- 24 Read before posting
- 8 Meet and greet
- 232 General
- 63 News and announcements
- 1 Swag
- 1 Roadmap updates
- 75 Resources
- 12 Knowledge Base
- 14 Webinars
- 1 Shared Script Library
- 2 Blog
- 18 Pro Tips
- 26 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 132 Remote Monitoring and Management
- 82 Remote Monitoring
- 25 Patch Management
- 103 Professional Services Automation
- 64 Helpdesk
- 17 Billing
- 19 Reporting
- 35 Integrations & add-ons
- 20 Integrations
- 10 Add-ons
- 102 Scripting and automations
- 61 Scripts
- 29 Automations