How can I see File Sync success/failure?
I can't see anything that will show me whether a given machine has successfully received the File Synchronization files it should get. Where can I see that other than in the File Sync task itself?
Answers (6)
If it is a file that does not a version you can also create a custom software inventory to get the creation or last modified date.
Use this in your custom software item
ShellCommandTextReturn(c:\windows\system32\wbem\WMIC.exe where name='c:\\path\\to\\file\\file.xml' get creationdate)
or
ShellCommandTextReturn(c:\windows\system32\wbem\WMIC.exe where name='c:\\path\\to\\file\\file.xml' get lastmodified)
Comments:
-
Then create a report of this software item and it will show every different date for a certain file. - SMal.tmcc 11 years ago
Machine will show up on the FS detail page only if the FS was completed successfully. Hence, if you see a machine in FS detail page, it means, YES file were copied successfully on those machines.
Comments:
-
If I run a file sync to a specific label containing a large number of computers, then I have to manually compare all computer names in the label with the list of computer names that were successful to determine which computers failed. Is there no way to see a report or output that just shows the failures? - samiott 5 years ago
You can create a custom software inventory based on the file version if it has that value in it's properties. then create a quick report sorting by this item also and you will see as machines get the sync and update their inventory.
W - FileVersionEquals(path, version) W - FileVersionLessThan(path, version) W - FileVersionGreaterThan(path, version)
Thanks folks.
I was really hoping for a direct result of the sync, rather than looking at the file versions. The one I'm working on is 19 files in a zip package. Only one of those is versioned, and I'm seeing occasional failures of just SOME of the files (file is in use, etc).
Looking at the detail page in the past just showed machines that fit the rules, and the KBOX attached to and tried to sync. There wasn't a "Yes, all files sync'd," or "No, only these files sync'd".
It's that level of detail I was hoping the FS tool would already provide.