I\'m still very new to powershell and thanks to you all, and some previous posts I\'ve learnt a lot so everything is self taught. I needed a script to run as a task on a ce