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
- 42 Getting started
- 26 Read before posting
- 8 Meet and greet
- 257 General
- 71 News and announcements
- 2 Swag
- 1 Roadmap updates
- 83 Resources
- 12 Knowledge Base
- 17 Webinars
- 1 Shared Script Library
- 2 Blog
- 21 Pro Tips
- 28 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 142 Remote Monitoring and Management
- 85 Remote Monitoring
- 28 Patch Management
- 107 Professional Services Automation
- 65 Helpdesk
- 17 Billing
- 22 Reporting
- 41 Integrations & add-ons
- 22 Integrations
- 11 Add-ons
- 108 Scripting and automations
- 62 Scripts
- 32 Automations