Galerie TechNet - Ressources pour les professionnels de l'informatique

Téléchargez des ressources et des applications pour Windows 7, Windows Server 2008 R2, Windows Server 2008, SharePoint, System Center, Office et d'autres produits. Découvrez des ressources écrites en VB Script, PowerShell, SQL, JavaScript ou d'autres langages de script. De nouvelles ressources étant régulièrement ajoutées, revenez souvent consulter cette page pour découvrir les nouveautés.

Chaque contribution vous est concédée sous licence en vertu d’un Contrat de licence par son propriétaire, et non par Microsoft. Microsoft ne garantit pas la contribution et ne prétend pas accorder de droits pour celle-ci.
Trier par: rss
20 résultats dans file [Effacer]
Jaap Brasser
Script to delete files older than x-days. The script is built to be used as a scheduled task, it automatically generates a log file based on the copy location and the current date/time. There are various levels of logging available.
(58)
Mis à jour 26/09/2013
Disponible 05/03/2012
23 419 Téléchargements
Monimoy Sanyal
There are occassions in an Admins day-to-day tasks when he/she needs to retrieve the Folder-Size from Local or Remote machines. This program (exe) does the same job. This program reads the Folder Path & Name from a Txt file -- ShareList.txt.
It then retrieves the Folder-Size of
(1)
Mis à jour 19/09/2013
Disponible 21/08/2013
237 Téléchargements
FZB
The following script is intended to split large log files (as an example) into smaller parts so for example notepad on a 32bit server can open them without running out of memory. To archieve the low memory usage, instead of Get-Content the script uses streaming of the logfile.You
(1)
Mis à jour 08/08/2012
Disponible 27/01/2012
846 Téléchargements
Jaap Brasser
 This script grabs a list of server names from a text file and pings those machines. It then searches for a file on the computers listed in the input file and writes the machinename, filename, filesize, file/productversion and last write time to a .csv. Log file is auto-generated
(2)
Mis à jour 19/06/2012
Disponible 15/02/2012
581 Téléchargements
ScriptChicken
This script parses through a specified folder stucture and archives all files within the defined retention time from the last "date accessed".  After the file is moved, a stub file is created, named after the moved file.Stub File EXAMPLE:Test_File.doc is replaced by Test_File.doc
(1)
Mis à jour 21/11/2013
Disponible 20/11/2013
23 Téléchargements
ScriptChicken
Just as the title implies, this script checks if a file has been updated in a given amount of time (retention time) and then logs the answer to a single file.  I use this script after deploying changes to a local file on mass scale.  After I've
made the changes to my domain wor
(1)
Mis à jour 05/12/2013
Disponible 05/12/2013
7 Téléchargements
mjolinor
This is a general puropose script for creating PS objects from the capture groups of a regular expression. It can be used to parse text files or conslole output from legacy apps, or basically anything that's creating text output into PS objects. Parses the output form the net vie
(4)
Mis à jour 19/09/2012
Disponible 19/09/2012
263 Téléchargements
Jeff Schulman
This automates a somewhat tedious manual process of turning on failure auditing for file access on all volumes. Additionally, it turns off indexing on each disk.
(0)
Mis à jour 24/07/2013
Disponible 03/07/2013
66 Téléchargements
Trader_Horn
Many of the system log files can become extremely large over a long time period. This script will fix the length to a preset value, removing extra lines from the end of the file. Any unwanted blank lines can also be eliminated if desired. Blank lines can simply be removed by usin
(1)
Mis à jour 24/12/2011
Disponible 14/12/2009
211 Téléchargements
Matthew Painter
Simple script with examples to upload a file with FTP
(0)
Mis à jour 09/09/2010
Disponible 09/09/2010
Trader_Horn
If there are a large number of, for example, saved Web Pages (mht,htm,html,pdf) stored in compressed ZIP or RAR files, it can be very difficult to locate any particular one.
In any such directory containing a number of these files this (module) procedure will search each individ
(0)
Mis à jour 29/02/2012
Disponible 15/02/2012
202 Téléchargements
CNPowerShell
Used for calculate the MD5 checksum of file.
This Script support Chinese filename and path
(1)
Mis à jour 08/07/2010
Disponible 08/07/2010
Jaap Brasser
Script to move files if the same file is found in folder1 and folder2. It recursively goes through both folders and compares the base filename, filename without extension, of each file in the first folder. If a match is found both files are moved
to a third folder,the destinati
(0)
Mis à jour 15/03/2012
Disponible 24/02/2012
193 Téléchargements
jrv
 EnumOpenFiles4.ps1 - Enumerate the open files on a share using the Win32 NetAPI calls in a VB.NET library.Returns { ShareINfo and
              IsDirectory
              FileInfo
              ServerName
              UserName
              PathName
              FileID
 
(1)
Mis à jour 15/10/2013
Disponible 22/04/2012
250 Téléchargements
James Bennett1
 There are 3 functions: Create-zip - takes parameters from foreach loop and a GCI.
 
deletezipped - deletes successfully archived logs.
 
Filelocked - logs an error to the log file containing the open file name and date\time.
 
The script uses 7-zip for compression so thi
(1)
Mis à jour 27/07/2013
Disponible 26/07/2013
32 Téléchargements
1 - 15 de 20 Articles