U bent hier


Scan folders for the content of PDF files and send them to a printer using PowerShell

This is a solution I wrote when an existing tool was suspected of causing a memory leak in a Windows svchost process. This script scans a list of folders, and sends the found PDFs to a printer with the same name as the folder, unless mentioned otherwise in the .ini-file (see below).

PowerShell script to log memory usage per process in .csv

This script is written to log a process list into a .csv file so it can be imported for analysis in Excel. Subsequent calls to the process result in data to be appended to the .csv file. Date and time are part of the columns exported, so the imported .csv in Excel can be used for a clear PivotTable or PivotChart to see memory usage evolution in time on the monitored server.

PowerShell script to archive files into sub-directories

This script is written to process files being placed by other processes in subfolder 'log' and 'archive' of subfolders in the folder d:\mainfolder\

So if a structure like this exists:


Then this script will go through the four folders ..A\log, ..A\archive, ..B\log, ..B\archive and move files found there in sub-folders underlaying these sub-folders with structure log[yyymm] or archive[yyymm]