0 Votes |
Relevance #3006427
Relevance
* Results in a true/false |
(
item 1 of /* -> This "it" refers to the last 100 lines of the file -> */ it
)
whose
(
/* -> remove empty lines, which is why this relevance can return less than 100 lines per file -> */ it as trimmed string != ""
)
of
(
/* -> this is the number of lines of the file from the previous statement -> */ item 1 of it,
(
lines of /* -> the file object -> */ item 0 of it
)
)
/* -> This whose statement is responsible for filtering for only the last 100 lines of the file -> */ whose
(
(
line number of /* -> lines of the file -> */ item 1 of it
)
>
(
/* -> number of lines of the file -> */ item 0 of it - 100 /* <- This is the number of lines to return, which is subtracted from the total # of lines <- */
)
)
of
(
/* -> the parent file object itself -> */ it, number of lines of it
)
of files "WindowsUpdate.log" whose
(
not exists lines whose
(
it contains "Get-WindowsUpdateLog PowerShell"
)
of it
)
of
(
windows folders ; folders "Logs" of folders "__Global" of data folders of clients
)
item 1 of /* -> This "it" refers to the last 100 lines of the file -> */ it
)
whose
(
/* -> remove empty lines, which is why this relevance can return less than 100 lines per file -> */ it as trimmed string != ""
)
of
(
/* -> this is the number of lines of the file from the previous statement -> */ item 1 of it,
(
lines of /* -> the file object -> */ item 0 of it
)
)
/* -> This whose statement is responsible for filtering for only the last 100 lines of the file -> */ whose
(
(
line number of /* -> lines of the file -> */ item 1 of it
)
>
(
/* -> number of lines of the file -> */ item 0 of it - 100 /* <- This is the number of lines to return, which is subtracted from the total # of lines <- */
)
)
of
(
/* -> the parent file object itself -> */ it, number of lines of it
)
of files "WindowsUpdate.log" whose
(
not exists lines whose
(
it contains "Get-WindowsUpdateLog PowerShell"
)
of it
)
of
(
windows folders ; folders "Logs" of folders "__Global" of data folders of clients
)
(item 1 of /* -> This "it" refers to the last 100 lines of the file -> */ it) whose( /* -> remove empty lines, which is why this relevance can return less than 100 lines per file -> */ it as trimmed string != "") of ( /* -> this is the number of lines of the file from the previous statement -> */ item 1 of it, (lines of /* -> the file object -> */ item 0 of it) ) /* -> This whose statement is responsible for filtering for only the last 100 lines of the file -> */ whose ( (line number of /* -> lines of the file -> */ item 1 of it) > ( /* -> number of lines of the file -> */ item 0 of it - 100 /* <- This is the number of lines to return, which is subtracted from the total # of lines <- */ ) ) of ( /* -> the parent file object itself -> */ it, number of lines of it) of files "WindowsUpdate.log" whose( not exists lines whose(it contains "Get-WindowsUpdateLog PowerShell") of it ) of ( windows folders ; folders "Logs" of folders "__Global" of data folders of clients)
Property Details
Sharing
Relevance Image Sharing: |
Social Media: |