Can someone help me to create a power shell.my requirement is that files are posted on sftp and under different folders like folder a, folder b and so on.files would be already there posted in the folders.file names would be same according to different folders.like if folder is a then a_test.txt file would be posted and if folder is b then b_test.txt file would be there.Now if there is a file under folders then i need to capture file size,path of the file,IP of computer who posted it and date posted.
I would need to run this power shell using a batch file on server.
Can some one help me on this?