How to us a powershell script to copy
Posted on 2010-01-05
I am still a novice when it comes to scripting & am trying to learn as I go.
I'm not certain if powershell will do what I want it to, but I am hoping someone with more know-how could provide me with the PS code to do the following.
I wish the script to create a directory, at the end of a path, with a unique name, say... today's date.
Copy files of multiple types from one directory into this JUST MADE directory, such as all *.xls & *.doc type files.
An additional problem I seem to be running up against is that PS is in restricted mode, which I know that this is not something you'd simply want to disable, but I don't quite yet understand how to sign a script so that it'll run.
Also, can PS scripts be run via a scheduled task?