Skip to main content

Create a Self-Service User in VMM

A self-service user role enables users to create and manage their own virtual machines within a controlled environment by using the VMM Self-Service Portal or the Windows PowerShell VMM command shell. A self-service user cannot create or modify user roles and cannot perform administrative functions on hosts and library servers.

 

To create a Self-Service User, open System Center Virtual Machine Manager.

 

In the menu bar, click Go \ Administration.

 

In the menu bar, click Actions \ User Role \ New user role

clip_image001

 

Provide a name and a description for the user role.

 

In the User role profile: drop down menu, choose Self-Service User

 

Click Next

 

In the Add Members window, click Add…

 

Add in the users or groups that will be part of this role.

 

Click Next.

 

In the Select Scope window, select the host group that these users will be able to utilize for their virtual machines.

 

Click Next

 

In the Virtual Machine Permissions window, you have the ability to set what each of the users who are a part of this role can do. They can:

 

· Start virtual machines

· Stop virtual machines

· Pause and resume virtual machines

· Create and manage virtual machine checkpoints

· Remove virtual machines

· The can be granted local administrator rights on their virtual machines

· They can be allowed to remotely connect to their virtual machines

· Shut down virtual machines.

 

Check the appropriate boxes and click Next.

 

In the Virtual Machine Creation Settings you can determine if the users can create virtual machines. You can also provide them with a list of templates (Pre-created VMs) to choose from.

 

To limit the number of running VMs the users can have, check Set quota for deployed virtual machines:

 

VMs can have different quota values assigned to them. This quota system will help prevent a user from accidentally, or intentionally, create a Denial-of-Service situation on your host servers.

 

Click Next

 

The Share quota across user role members setting will set the quota for the role members as a group. In other words if the quota is 5 and one user has 5 VMs started, no other member of that group will be able to start a VM until a VM is shut down.

 

In the Library Share window, you can select which library will store the VMs and ISO files created by the users of this role.

 

Click Next.

 

Click Create.

Comments

Popular posts from this blog

Adding a Comment to a GPO with PowerShell

As I'm writing this article, I'm also writing a customization for a PowerShell course I'm teaching next week in Phoenix.  This customization deals with Group Policy and PowerShell.  For those of you who attend my classes may already know this, but I sit their and try to ask the questions to myself that others may ask as I present the material.  I finished up my customization a few hours ago and then I realized that I did not add in how to put a comment on a GPO.  This is a feature that many Group Policy Administrators may not be aware of. This past summer I attended a presentation at TechEd on Group Policy.  One organization in the crowd had over 5,000 Group Policies.  In an environment like that, the comment section can be priceless.  I always like to write in the comment section why I created the policy so I know its purpose next week after I've completed 50 other tasks and can't remember what I did 5 minutes ago. In the Group Policy module for PowerShell V3, th

Return duplicate values from a collection with PowerShell

If you have a collection of objects and you want to remove any duplicate items, it is fairly simple. # Create a collection with duplicate values $Set1 = 1 , 1 , 2 , 2 , 3 , 4 , 5 , 6 , 7 , 1 , 2   # Remove the duplicate values. $Set1 | Select-Object -Unique 1 2 3 4 5 6 7 What if you want only the duplicate values and nothing else? # Create a collection with duplicate values $Set1 = 1 , 1 , 2 , 2 , 3 , 4 , 5 , 6 , 7 , 1 , 2   #Create a second collection with duplicate values removed. $Set2 = $Set1 | Select-Object -Unique   # Return only the duplicate values. ( Compare-Object -ReferenceObject $Set2 -DifferenceObject $Set1 ) . InputObject | Select-Object – Unique 1 2 This works with objects as well as numbers.  The first command creates a collection with 2 duplicates of both 1 and 2.   The second command creates another collection with the duplicates filtered out.  The Compare-Object cmdlet will first find items that are diffe

How to list all the AD LDS instances on a server

AD LDS allows you to provide directory services to applications that are free of the confines of Active Directory.  To list all the AD LDS instances on a server, follow this procedure: Log into the server in question Open a command prompt. Type dsdbutil and press Enter Type List Instances and press Enter . You will receive a list of the instance name, both the LDAP and SSL port numbers, the location of the database, and its status.