Jump to content


  • 0
Peter van der Woude

Managing Approval Requests via PowerShell

Question

==============================================================================================================================

To reach an even wider audience. This is what I posted on my blog this Saturday.
==============================================================================================================================

Today I released a public version of my Approval Manager, which I mentioned a few weeks ago in my post about Managing Approval Request in ConfigMgr 2012. The biggest difference, and maybe even a contradiction with what I mentioned in that post, is that I did NOT use the PowerShell Cmdlets for ConfigMgr 2012 in this release. The main reason for that is that using WMI, via PowerShell, is much friendlier for remote usage.

Approval Manager
This public version gives the user the possibility to perform the following actions, without the need of access to and/ or a locally installed ConfigMgr console:

  • Select a User from the specified Collection.
  • Show only Approval Request, for the selected User, that are Pending Approval.
  • Approve, the selected, Approval Request.
  • Deny, the selected, Approval Request.
  • Close the form.

Security Role
In case the user, that is going to use the Approval Manager, only needs to approve, or deny, Approval Request, I would suggest to create a new Security Role. As the user that uses the Approval Manager only needs to have the following rights:

  • Application – Read; Approve.
  • Collection – Read; Read Resource.

Public Available
As of today my Approval Manager is publicly available via the TechNet Galleries. Please let me know what you think of the tool.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Peter,

 

This looks to be just what the doctor ordered. The problem is, I'm pretty new to powershell. Do I need to go through the script and provide site, collection, site code and server manually? If you have time to provide a brief example it would really help me out. I appreciate your time.

 

Thanks.

Share this post


Link to post
Share on other sites

  • 0

I'm planning on making a screencast about this anytime soon...

 

Until then, you can start the script with the following command line: PowerShell.exe -ExecutionPolicy ByPass .\ApprovalManager_v0_8p.ps1 -CollectiondId <CollectionId> - SiteCode <SiteCode> - SiteServer <SiteServer> - EnableAlert

 

  • CollectionId - Specify the id of the collection, that contains the users, that the approver is allowed to approve, or deny, request of.
  • SiteCode - Specify the site code of the ConfigMgr site.
  • SiteServer - Specifify the site server name.
  • EnableAlert - Specify this switch to enable alerts every hour

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.