Key |
Returned |
Description |
examined
int
|
always |
The number of files/folders that was checked
Sample:
10
|
files
complex
|
success |
Information on the files/folders that match the criteria returned as a list of dictionary elements for each file matched. The entries are sorted by the path value alphabetically.
|
|
lastwritetime
float
|
success, path exists |
the last modification time of the file represented in seconds since epoch
Sample:
1477984205.15
|
|
creationtime
float
|
success, path exists |
the create time of the file represented in seconds since epoch
Sample:
1477984205.15
|
|
lastaccesstime
float
|
success, path exists |
the last access time of the file represented in seconds since epoch
Sample:
1477984205.15
|
|
owner
string
|
success, path exists |
the owner of the file
Sample:
BUILTIN\Administrators
|
|
path
string
|
success, path exists |
the full absolute path to the file
Sample:
BUILTIN\Administrators
|
|
isarchive
boolean
|
success, path exists |
if the path is ready for archiving or not
Sample:
True
|
|
ishidden
boolean
|
success, path exists |
if the path is hidden or not
Sample:
True
|
|
lnk_source
string
|
|
the target of the symbolic link, will return null if not a link or the link is broken
Sample:
C:\temp
|
|
size
int
|
success, path exists, path is not a link |
the size in bytes of a file or folder
Sample:
1024
|
|
isdir
boolean
|
success, path exists |
if the path is a directory or not
Sample:
True
|
|
extension
string
|
success, path exists, path is a file |
the extension of the file at path
Sample:
.ps1
|
|
isreadonly
boolean
|
success, path exists |
if the path is read only or not
Sample:
True
|
|
sharename
string
|
success, path exists, path is a directory and isshared == True |
the name of share if folder is shared
Sample:
file-share
|
|
checksum
string
|
success, path exists, path is a file, get_checksum == True |
The checksum of a file based on checksum_algorithm specified
Sample:
09cb79e8fc7453c84a07f644e441fd81623b7f98
|
|
islnk
boolean
|
success, path exists |
if the path is a symbolic link or junction or not
Sample:
True
|
|
attributes
string
|
success, path exists |
attributes of the file at path in raw form
Sample:
Archive, Hidden
|
|
isshared
boolean
|
success, path exists |
if the path is shared or not
Sample:
True
|
matched
int
|
always |
The number of files/folders that match the criteria
Sample:
2
|