I am trying to script deleting email from certain folders in a users mailbox and we are already using the polices for something eals and you canonly have one. I have everthing working if I run it manually but I can not automate it because it requires user input and I just need to hit the enter key. Is there a way to do this in powershell? In the old daye I would just pipe in a arrage return. A copy of the main parts of this scrpt is below.