i need to do this:
from a windows 2003 server, with powershell v2 installed, i need a script to do this:
get an ldf file and check content, if detect any special char ç, é è ô ï ö...... or if the file is empty (0 ko)==> it send email with the ldf file attached and if possible on email body right wich special char it have detect or if the file is empty tell empty file detected on email body.
if not detect special char and the file is not empty==> copy the ldf file to \\server\folder1\folder2.
are this is possible?
thanks for help