That sounds like the most painless solution - thx. BTW, it was choking on the get-mailbox line...
On Tue, Feb 26, 2008 at 2:18 PM, Kretche, Peter <[EMAIL PROTECTED]> wrote: > For my Scheduled Tasks I call a .bat file and in the .bat file I have > "Powershell c:\path\script.ps1". That works for me, I've never been able to > get arguments to work in Scheduled Tasks reliably. > > > > ------------------------------------------------- > Thank you, > Pete Kretche > MCP, A+ > Network Systems Administrator > UW - Green Bay > Voice: 920.465.5014 > Fax: 920.465.2864 > [EMAIL PROTECTED] > > > > > > *From:* Angie Urtel [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, February 26, 2008 1:23 PM > *To:* MS-Exchange Admin Issues > *Subject:* Re: scheduled PowerShell task > > > > Sorry, forgot that part. Yes, the account it's scheduled as has Exchange > rights. > > On Tue, Feb 26, 2008 at 1:07 PM, Campbell, Rob < > [EMAIL PROTECTED]> wrote: > > What credentials are you running the task under? > > > ------------------------------ > > *From:* Angie Urtel [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, February 26, 2008 12:55 PM > *To:* MS-Exchange Admin Issues > *Subject:* scheduled PowerShell task > > > > > > > ************************************************************************************************** > > Note: > The information contained in this message may be privileged and > confidential and > protected from disclosure. If the reader of this message is not the > intended > recipient, or an employee or agent responsible for delivering this message > to > the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. If > you > have received this communication in error, please notify us immediately by > > replying to the message and deleting it from your computer. > > ************************************************************************************************** > > > > > > > > > ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~ ~ http://www.sunbeltsoftware.com/Ninja ~
