-
Hi, I am working on a script where I need to read size of "C:\documents and Settings" folder(for example) for more than 200 servers and put them in a CSV. For this I have created following simple script, but this script is taking a long time to run. $serverlist = get-content Serverlist.txt...
-
The following is a generic script to delete files from a given directory path passed in as an argument. The script writes out a simple log to the directory from the working directory every time it is run. The script uses a simple switch statement to check for directories that should not ##########################################################...
Posted to
General
(Forum)
by
goodfth
on
09-09-2010
Filed under: Delete Temp Files, Files, Files and Folders, Delete Files, file system, remove
-
Is there a way to determine if a file is complete? Background: My company receives several hundred files daily. Most are very small, but others can range from 1 to 10 gigs. The file transfer company does not always send the files at one time. It may take several minutes for a file to arrive if it is...
-
in the cmd-line i can use xcopy /D \\server\share\ *.* \c:\somewhere\ to copy new or changed files from the servershare to my destination how can I do this easily with the Powershell? thank you
-
By Helge Klein Helge Klein on the workings of Windows, Terminal Services and other things. Read More