VMware Cloud Community
rubberduck70
Contributor
Contributor

ASD workflow / action to add users as local admin to server(s) via vRA

Hi guys,

I'm trying to publish a service / ASD action where certain folk can sign into vRA and add user(s) as local admins on server(s). I've tried to research some content and tried to make use of certain actions within vRO but with no luck. Has anyone come across something like this or could you perhaps guide me in the right direction to achieve this?

Thank you

Reply
0 Kudos
2 Replies
sbeaver
Leadership
Leadership

For windows servers I have used a PowerShell script that run on the VM itself to add users to the local admin group.  For Linux, SSH into the server and run a script to edit sudo.  Lately, I have been sending the script to the vm via the VMware tools and running the script that way

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
Reply
0 Kudos
rubberduck70
Contributor
Contributor

Thanks sbeaver,

I tried looking for a powershell script but couldn't find out that would fit the bill. Would you mind sharing the one you are using and I'll try and incorporate that into vRO with some input prompts?

Thanks again

Reply
0 Kudos