-
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
-
Hi Friends, I need powershell script to dump all the shared folder and thier permission from serverlist.txt. the below code just giving me the shares but not the permissions. $strComputer = gc C:\ps-test\serverlist.txt foreach ($computer in $strComputer) { $colItems = get-wmiobject -class "Win32_Share"...
Posted to
General
(Forum)
by
AZM
on
07-13-2011
Filed under: power shell, file system, windows
-
a nice little script I wrote last week to backup my files using robocopy. Read more from my blog entry: http://yangtao-blog.spaces.live.com/blog/cns!78150852A51B249C!236.entry Tao