Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I was trying to use my powershell code to access one of my service’s outlook Inbox, manually when I was running the powershell code the service’s outlook ask’s me whether to allow the access for outlook or not if so how long (like 1 min to 10 min’s). The problem is I need to run the powershell code automatically using task scheduler, while running automatically the outlook is not giving Inbox access to my code which is running through task scheduler. so how can I give my powershell code full access to my service’s outlook's Inbox ? please suggest me.

share|improve this question
2  
I understand that you're attempting to access a SharePoint service's mailbox that is filled with alert emails using PowerShell. I'm not sure we have all the information. Which service account? Why is the service account receiving alerts? What do you want the PowerShell script to do once it accesses the mailbox? Right now the problem you are trying to solve is "use PowerShell to access a mailbox" which is not a SharePoint question, so perhaps if you can help us understand better what it is you are trying to do... – shufler Mar 27 '12 at 16:08
Sorry, but this is off-topic for SharePoint.StackExchange - see the FAQ for more information about what can be asked on this site, and why. – SPDoctor Mar 27 '12 at 23:00

closed as off topic by SPDoctor Mar 27 '12 at 23:01

Questions on SharePoint Stack Exchange are expected to relate to SharePoint within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.