Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Powershell script to open a notepad from localsystem and open run the contents of it line by line.

$
0
0

Hi..

I have an predefined notepad in local system with 10 lines of server names in it.

I need to know how to design powershell script to open the local host notepad and executes line by line.

once the Firstline Server Path opened it has to update the total number of files in the folder with the oldest dated file name and date to be displayed in the table...The Loop has to run for all the 10 Servers list.

The Final Table with Server Path Name,total file counts,Oldest File Name,Oldest File Date has to send via mail as HTML Doc or as a Table

 

Thanks

Prabakar M


Viewing all articles
Browse latest Browse all 6937

Trending Articles