Help Desk Assign permission on mailboxes script

Exchange sp3
Outlook 2010 sp1
I've come up with a script to give to the help desk that will save me from having to do lots of remedial work. The script gives the full access permission and send-as on a mailbox.
This script works but for some reason I cannot get the input window to appear on my screen
Here it is.
[void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
$Identity = Read-Host "= [Microsoft.VisualBasic.Interaction]::InputBox("Enter the name of the Mailbox", "Username")"
$user = read-Host "Enter the name that will have full access rights"
$AccessRights = read-host [Microsoft.VisualBasic.Interaction]::InputBox("Enter the name that will have full access rights", "Name")
$ExtendedRights = Read-Host [Microsoft.VisualBasic.Interaction]::InputBox ("Enter the Extended Rights")
[System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”)
[system.Windows.Forms.MessageBox]::show("$Identity $user", "MyTitle")
Add-MailboxPermission -Identity $Identity -User $user -AccessRights $AccessRights
Add-ADPermission -Identity (Get-Mailbox $Identity).DistinguishedName -User $user  -ExtendedRights $ExtendedRights
Help please,
alexis

The following worked for me
[void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
#$Identity = Read-Host "= [Microsoft.VisualBasic.Interaction]::InputBox("Enter the name of the Mailbox", "Username")"
$Identity = [Microsoft.VisualBasic.Interaction]::InputBox("Enter the name of the Mailbox", "Username")
#$user = read-Host "Enter the name that will have full access rights"
$user = [Microsoft.VisualBasic.Interaction]::InputBox("Enter the name that will have full access rights", "Name")
#$AccessRights = read-host [Microsoft.VisualBasic.Interaction]::InputBox ("Enter the name that will have full access rights", "Name")
$AccessRights = [Microsoft.VisualBasic.Interaction]::InputBox("Enter the permissions", "Name")
#$ExtendedRights = Read-Host [Microsoft.VisualBasic.Interaction]::InputBox ("Enter the Extended Rights")
$ExtendedRights = [Microsoft.VisualBasic.Interaction]::InputBox("Enter the Extended Rights")
[System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”)
[system.Windows.Forms.MessageBox]::show("$Identity $user","MyTitle")
Add-MailboxPermission -Identity $Identity -User $user -AccessRights $AccessRights
Add-ADPermission -Identity (Get-Mailbox $Identity).DistinguishedName -User $user  -ExtendedRights $ExtendedRights

Similar Messages

  • Help desk cannot assign retention policies to new mailboxes

    I am running Exchange 2010 SP1.  I would like to give my help desk the ability to create new mailboxes.  When a new mailbox is created, we select the option to assign a Retention policy to it.  I added the help desk members to the "Recipient
    Management" group.  They can now create new mailboxes but they get an access denied error when they select a retention policy to be assigned to it.  As a member of the "Organization Management" group, I am able to assign retention policies to new
    mailboxes.
    With the RBAC editor, I created a custom management role group called "Mailbox Management" based on the "Recipient Management" group and added the "Retention Management" role to the group.  I believe this will give them the permissions to apply retention
    policies to new mailboxes but it also gives them the permissions to create/modify/delete retention policies themselves.  I only want to give them the rights to add mailboxes to retention policies. 
    I assume I need to create a custom management role and assign this new role to my new management role group but can someone tell me the minimum role entries I need for my help desk to be able to assign rentention policies during the mailbox creation
    wizard process?
    Steve

    Hi Steve,
    Due to you post the issue in a wrong type, and we changed the type to give you a suggestion.
    Please refer to below information:
    http://technet.microsoft.com/en-us/library/dd638205.aspx 
    The permissions required to configure messaging policy and compliance vary depending on the procedure being performed or the cmdlet you want to run. For more information about messaging policy and compliance, see
    Messaging Policy and Compliance, refer to above article you could find out what permissions you need to perform the procedure or run the cmdlet, then you coudl create a roleassignment
    for the customized role group.
    Regards!
    Gavin
    TechNet Community Support

  • Create a custom MMC snap-in for Help Desk to edit Passwords.

    Hi all,
    My scenario is similar to the scenario found here: http://social.technet.microsoft.com/Forums/windowsserver/en-US/3f0dbf8e-636b-45fe-93db-f788d5b976fd/allow-help-desk-to-only-reset-user-passwords?forum=winserverManagement.  
    "I'd like to come up with a way for [Managers] to be able to change someone's password and/or unlock
    the user account if applicable.  I'm hesitant to add them to the Account Operators built-in group since this would give them the rights to add/remove from groups, create or delete accounts and so much more that doesn't apply to their responsibilities.
    A web interface for them to use or something other simple and small would be preferred.  I know there
    are pricey 3rd-party apps that can compartmentalize system rights for user accounts, but first I'd like to explore simpler options."
    My Question: Most of my scenario has been answered in the above link, however, I am not sure how to create a custom MMC snap-in that will allow Managers to edit user passwords from their workstation. Also, if I create a
    MMC snap-in is there a way to deploy it with group policy to the managers or would I have to log in to each of the managers workstations and set it up manually?
    All answers are greatly appreciated! Thanks for your help. 

    Hi,
    Please refer to the following article and check if can help you.
    Reset Password Custom Console
    à
    if I create a MMC snap-in is there a way to deploy it with group policy to the managers
    I don’t think that you can achieve the target directly by using group policy. Just another thought, you may create a script to deploy the MMC snap-in. Then add the script
    as Logon script in Group policy and
    assign user logon scripts to those specific users. Just a thought, thanks for your understanding.
    If anything I misunderstand, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Regarding assigning permission to dashboard to a catalog group in obiee 11g

    Hi All,
    i have a dashboard : trainee .
    i have created one catalog group that is: GroupA
    now i have assign some user to it.
    now i want to assign permission to the trainee dashboard to the groupA.
    i tried to do that but when i am doing login obieee by using any user that has assigned to group A.
    but i am not able to see trainee dashboard.
    can anyone tell me the steps for doing it.

    Hi,
    http://www.varanasisaichand.com/2011/03/obiee-11g-security-creating-users-and.html
    hope it helps
    Thanks,
    satya

  • Allow help desk to manage open files on file server

    I am looking to delegate the ability to manage open files to our help desk users.  They are getting an increasing number of calls from users asking about files and who has them open, or to force close them..etc.
    The help desk users are not admins on our file server, therefore do not have access to RDP to the file server.  I was hoping they could do it from computer management RSAT tools on their local machine.  I just don't know how to allow them to do
    it.
    Thanks
    sb

    Hello,
    Since they are not able to RDP the FS then they should need to access files using shared folders.
    For that, you will need to share the root folder where your files are. Please give Full Control permission on it. Here, to manage their permissions, you can grant them what you want using NTFS permissions.
    Note that NTFS and Share permissions are combined and the user will be have the minimum of privileges when he access the folder as a share. For that, I recommended using FC permission on the shared folder to avoid additional management tasks.
    This
    posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   
    Microsoft
    Student Partner 2010 / 2011
    Microsoft
    Certified Professional
    Microsoft
    Certified Systems Administrator: Security
    Microsoft
    Certified Systems Engineer: Security
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows 7, Configuring
    Microsoft
    Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft
    Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

  • Database design for Help Desk application.

    Hello does any one know
    Database design for Help Desk application.
    ERD
    Business rules and features
    ?

    The best way to approach a database design is to write a
    specification for the application. Document what processes the help
    desk technicians will do. In the process, identify what pieces of
    information they work with. When you have the complete
    specification written, you can then begin grouping the pieces of
    information they work with together. For example, a ticket may have
    a number, status, priority and a person to whom it is assigned. The
    person to whom the ticket is assigned will have a name, phone
    number, e-mail address and a list of technical skills.
    So in this overly-simplified example, we could have a table
    that contains ticket information, a table that has information
    about technicians and a table of skills. Then ask your self
    questions like "Can one ticket be handled by more than one
    technician?" "Can one technician handle more than one ticket?" Can
    a technician have more than one skill?" In this way, you can begin
    seeing the one-to-one, one-to-many and many-to-many relationships
    that exist.

  • Any way to give Help Desk Users access to tickets by Category?

    As far as I know, there's just no way to do this.  The user roles are not very flexible and really don't provide any middle ground by design.  You can either see all tickets or you can see only tickets assigned to you.

    So we have our first level Help Desk people that get ALL the tickets that come in.  They are Help Desk Admins as they route things around and manage the system.
    We also have our Database team that we sometimes have to assign tickets to.  We don't want them to see all the tickets so I think I have to set them as Help Desk Users.
    Based on the documentation, this means they won't see anything except what's already assigned to them personally.
    What we'd like to be able to do is create a Category called Database and set the Database users up so they can see their own tickets and any ticket that's assigned to the Database Category.  Is there any way to do this or an alternative way that we can accomplish the same end result?
    Thanks.
    This topic first appeared in the Spiceworks Community

  • Help desk application written in coldfusion

    Hello
    I was assigned to re-create a help desk application using
    coldfusion.
    I am so far clueless from the business requirements
    Know the IT dept is expanding to more than one geographic
    location.
    Is there a sample application written in coldfusion. Maybe I
    can get an idea on functionalities and have some basis. BOOKS on
    business / logical flow? Sample software written in CF?
    Thanks

    with some modification to the following wonderful project by
    Raymond Camden,
    http://lighthousepro.riaforge.org/
    ,you can have an idea on how to start. I am designing one right now
    and it will take me a while before i finish since I could not use
    the one by Ray (it requires CF7 and I have only 6.1). I will
    appreciate it if you find one on the web and share it with me.
    Mamdoh

  • How to provide an exchange user permission for Mailbox Archieve ??

    i want to grant a IT guy access to archive mailboxes. How to provide an exchange user permission for Mailbox Archive ??.
    Regards, h9ck3r.

    Hi,
    Per my known, if you want to access other user's personal archive mailbox, you need to assign full access permissions to primary mailbox first.
    There is no way to grant full access permissions to archive mailbox only.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Assigning permission to SharePoint 2013 group using REST API

    Hi All,
    I was trying to assign permission to a group using REST but it failing with error message "Bad Request". Below is my REST code to assign Contribute permission to group with ID 95, It would great help if someone can help me to fix this.
    // Set permission on a specific group
    $.ajax({
    url: "<Site URL>/_api/web/roleassignments/addroleassignment(principalid=95, roledefid=1073741827)",
    type: "POST",
    contentType: "application/json;odata=verbose",
    headers: { "Accept": "application/json; odata=verbose","X-RequestDigest": $("#__REQUESTDIGEST").val(),"X-HTTP-Method": "POST" },
    success: function (data) {
    // Returning the results
    alert('Contribute permission set on group');
    alert("Error: " + JSON.stringify(data));
    error: function (data) {
    alert("Error: " + JSON.stringify(data));
    ~Harish

    Hi Harish,
    I have same problem and I just find solution for this error.
    You must set body/data to null value --> It's work for me  !!! :)
    See my code with RequestExecutor (I develop an SharePoint App)
    // Set the new role assignment for the group on the list.
            this.setNewRoleForGroup = function (listTitle, newRoleDefId, groupId) {
                var deferred = $.Deferred();
                //First we must call the EnsureSetup method
                JSRequest.EnsureSetup();
                var hostweburl = decodeURIComponent(JSRequest.QueryString["SPHostUrl"]);
                var appweburl = decodeURIComponent(JSRequest.QueryString["SPAppWebUrl"]);
                //Tip to have a title formated to REST call
                var arrayTitle = decodeURIComponent(listTitle).split("'");
                var restQueryUrl = appweburl + "/_api/SP.AppContextSite(@target)/web/lists/GetByTitle('" + arrayTitle.join("''") + "')/roleassignments/addroleassignment(principalid=" + groupId + ",roledefid=" + newRoleDefId + ")?@target='" + hostweburl + "'";
                var executor = new SP.RequestExecutor(appweburl);
                executor.executeAsync({
                    url: restQueryUrl,
                    body: null,
                    method: "POST",
                    headers: {
                        "Content-Type": "application/json;odata=verbose",
                        "Accept": "application/json; odata=verbose",
                        "X-HTTP-Method": "POST"
                    success: function (data, textStatus, xhr) {
                        deferred.resolve({ updated: true });
                    error: function (xhr, textStatus, errorThrown) {
                        deferred.reject(JSON.parse(xhr.body).error.message.value);
                return deferred;

  • Help Desk tools for deploying VDI workstations???

    Are there any tools or suggestions for simplifying the virtual desktop provisioning process?  I ask this so our help desk doesn't have to log into the View Admin portal to manage the environment or provision workstations.  I was hoping there was a resource, config wizard or web portal available to use where the View Admin console works in the background while the user requesting a VDI just inputs their desired config parameters (ie- user name, type of VDI, etc.).   Thanks in advance for your suggestions!

    user21354 wrote:
    ..a project in java ,*oracle its a web development and has given me sometime to prepare for that* , i want to ask which IDE i use for it actually me company will use eclipse for that...I'm not sure if this is what you want but the followings are good to give a try while you still have a plenty of time assigned
    Oracle JDeveloper could be a good option if you'd like to create web apps with Oracle back-end databases.
    Other IDEs like Eclipse or NetBeans.,etc are available too... just google it with "java ide", you would be surprised with the results:-)
    For more details on aforementioned tools, check this out!
    http://www.oracle.com/technetwork/index.html
    Good luck!
    HappyJay

  • Unity Connection 8.5 Help Desk Administrator Role

    I have a Unity Connection 8.5 Cluster and I have assigned agents on our helpdesk to the Help Desk Administrator Role.  When looking at the Roles page the Help Desk administrator has right to (as per the text on the page) "Resets user passwords and unlocks user accounts, views user settings" and I see that "Reset User Passwords" is selected in the check boxes.
    When logged in as an account with this role assigned, I can navigate around CUCM to view pages but when I try to reset a voicemail PIN I get the message "Not Authorized" when I press save.
    What am I doing wrong?
    Thanks in advance

    Hi Culittle,
    I have some similar but different issue. I have users with admin roles (Technician,Help Desk administrator & User administrator). We are getting Not Authorized error while resetting the password of fellow admin users. They are able to reset the passwords for the voicemail account holders and delete users, however unable to reset the passwords of admin users.
    Any assistance is greatly appriciated.
    Thank you

  • SAP Cloud - Help Desk Security Roles

    Hi SAP user community,
    Can you please recomend which security profile we should use for our Help Desk support?
    Help Desk support would only require access to Application and User Managment --> Busienss Users. Their task would need to be limited to Password Resests and User Locks.
    Thank you,
    Zhenya

    Hi Zhenya,
    I wouldn't use the pre-delivered roles for your use case.
    You can create your own roles via "Application And User Management -> Business Roles" and assign them to your users.
    It would probably be sufficient to create a business role that grants access only for the view "Application And User Management -> Business Users".
    Best Regards,
    Andreas

  • Schedule Help Desk E-Mails?

    Hello All,
          Anyone know if its possible to schedule Help Desk emails go to certain email address's based on Time of Day / Date?
    This topic first appeared in the Spiceworks Community

    Hi again:
    IMAP protocol stores messages on the ISP server until deleted (or hitting a limit they impose).  However, if what happened removed them from the server, they are bye bye.
    In any event, to try to get them back from a Time Machine backup do this:
    Open Mail.  Then highlight a mailbox (for example, inbox).  Open Time Machine.  Select a backup before the problem.  Click on restore.  Move the messages from the recovered box (a new one) to where you want them.  You would repeat this for all mailboxes you wish to recover.
    This information is also available in the Mail help.  As an aside, you can also archive a mailbox periodically (from Mail>mailbox)  I do not use this as the Time Machine backups give me more options and flexibility.
    I have recovered messages that a user (me) deleted in error. It takes some getting used to, but it works fine.
    Barry

  • Help Desk Tickets not updating when Refreshing (7.4.00070)

    I usually create tickets right from the Help Desk (Open Tickets) screen, and lately I've been noticing that sometimes when I create a ticket, (and assign it to myself) it won't show up in the queue until I navigate off of the page and then back. (Like clicking Dashboard, and then back to Tickets). Clicking the [Refresh Tickets] button doesn't seem to work. I'm not sure if it's a bug, or a performance issue (but my VM running Spiceworks seems to be happily chugging along.)
    Client: Win 7 x64 Pro, connecting via Comodo Dragon (V43.3something)
    Server: Server 2012R2 (Virtual Machine- 6 cores, 8GB of RAM) running Spiceworks as a service
    Network: Under 250 devices, Gigabit connections to/from server, less than 500 tickets.
    This topic first appeared in the Spiceworks Community

    I have just tried to install that update but again it tells me "The installer encountered an error that caused the installation to fail. Contact software manufacturer for assistance"
    Is there some way of finding what is wrong?
    I really have been trying to update for months now.
    Thanks

Maybe you are looking for