Enterprise Manager roles / Powershell

PowerShell script exchange

Enterprise Manager roles / Powershell

Veeam Logoby Anders » Mon Sep 21, 2015 11:49 am

Hi Experts

As far as I can see, there is no way to do powershell scripting to the enterprise manager.

We'd really like to be able to script roles to it. We have about 750 VM's, and 750 AD Groups that give administrator access to them.
So we need for each AD Group, make a role giving the Group access to a specific VM as a restore operator.
(EM cannot do this automaticly with Linux VM's, so the build-in feature giving access to Windows machines is not enough in our case.)

Alot of manual Work...

/Anders
Anders
Enthusiast
 
Posts: 36
Liked: 7 times
Joined: Thu Sep 09, 2010 9:45 am
Full Name: Anders Lorensen

Re: Enterprise Manager roles / Powershell

Veeam Logoby tsightler » Mon Sep 21, 2015 1:30 pm

I believe you can perform all of this via the REST API, which you could access from Powershell via Invoke-RestMethod. To this point I've not done this myself as I've used the REST API mostly via VMware Orchastrator (Javascript), and a little from PHP, but at first glance it seems fairly straightforward.
tsightler
Veeam Software
 
Posts: 4768
Liked: 1737 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 3 guests