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.
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.