Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Get file info,user info,path,file size

$
0
0

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?


Viewing all articles
Browse latest Browse all 13067

Trending Articles