mcds99
-
Total Posts
:
519
- Scores: 4
-
Reward points
:
0
- Joined: 2/28/2006
-
Status: offline
|
Compare-Object Paramater
Tuesday, April 20, 2010 4:27 AM
( permalink)
I'm trying to figure out what the -SyncWindow paramater of Compare_Object really does "Defines a search region in which an attempt is made to re-synchronize the order if there is no match." I'm thick on this one I can't pull out of the definition, what it does? I'm writing a PS script that keeps a (process eye) on a folder, it will wait for 3 minutes and check to see if a file has changed, if it has not changed in 3 minutes then it will be moved to another folder where it will be picked up by another process. We get files transfered to a specific folded (text files) from a main frame they take a while to down load. I may be going down the wrong cmd_ let path even.
Sam Keep it Simple Make it Fun KiSMiF
|
|
|
|
ebgreen
-
Total Posts
:
8219
- Scores: 98
-
Reward points
:
0
- Joined: 7/12/2005
-
Status: offline
|
Re:Compare-Object Paramater
Tuesday, April 20, 2010 4:29 AM
( permalink)
Personally I would either look at the last modified time or use an MD5 hash to see if it is the same as it was the last time that you looked.
|
|
|
|
TomRiddle
-
Total Posts
:
620
- Scores: 12
-
Reward points
:
0
- Joined: 2/7/2008
- Location: Australia
-
Status: offline
|
Re:Compare-Object Paramater
Thursday, July 29, 2010 3:36 PM
( permalink)
Looks like the online version of the help is the same PS C:\> get-help Compare-Object -online
-join([int[]][char[]]'Ut|jwXmjqq%Wzqjx'|%{[char]($_-5)})
|
|
|
|