Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Powershell script run by end users

$
0
0

Hi,

I am hoping someone can point me in the right direction.  I have a requirement for end users to be able to run a powershell script to reset a leader PIN for a conferencing service hosted on Lync.  I imagined being able to host a webpage on our intranet that will get the details of the currently logged on user, run the powershell command to reset their PIN and drop the user an email.  I could also provide this script to the helpdesk with a manual user input field to allow them to easily reset leader pins without using the admin UI.

I am OK with writing a script to get the current user, and send the email it's the webpage part that I am struggling with, and the remote session to the Lync servers to run the script.   I know there is a UI to do this in Lync but most of our users are not EV enabled so it won't work for them.  The idea here being that the user never knows it's a script running in the background it is just a webpage they visit, press a button and a few mins later they get an email with their new PIN.

One idea that has just come to me, is it may be easier to have the script running as scheduled job on the server and the webpage just creates a temp file on the server with the details of the request in.  Then every 5 mins the job picks that up and resets the pins in a batch.

Any suggestions would be helpful, if it's a silly idea tell me!

Thanks


Viewing all articles
Browse latest Browse all 6937

Trending Articles