-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christophe CREMON
committed
Jul 6, 2012
1 parent
cb4824b
commit f04dd54
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Release Notes | ||
PowerShell Module that monitors incoming files | ||
|
||
Requirements : | ||
|
||
PowerShell 2.0 | ||
|
||
|
||
USAGE | ||
|
||
Three (3) mandatory parameters : | ||
FileName : the file name expected to arrive | ||
TimeOut : the maximum time, in seconds, allotted for the file to arrive | ||
ChangeType : the change type expected [ Created | Deleted | Changed | Renamed ] | ||
|
||
One (1) optional switch : | ||
IncludeSubDirectories : if the file is expected to arrive in a subdirectory | ||
|
||
|
||
EXAMPLES | ||
|
||
Looking for a file named "test.txt" in the directory "c:\", timeout = 2 minutes | ||
Start-FileWatcher -FileName "c:\test.txt" -TimeOut 120 -ChangeType "Created" | ||
|
||
Looking for an xml file, in a directory created while arrival of the file, timeout = 5 minutes, root directory is "c:\" | ||
Start-FileWatcher -FileName "c:\*.xml" -TimeOut 300 -ChangeType "Created" -IncludeSubDirectories | ||
|
||
IF THE FILE HAS ARRIVED, IT WILL RETURN THE NAME OF THE FILE |