Massivelog.log has grown to 40GB on a Windows server. At this size, local tools are unable to read the file, and it cannot be moved off the virtual server where it is located. Which of the following lines of PowerShell script will allow a user to extract the last 10,000 lines of the log for review?
A) tail -10000 Massivelog.log > extract.txt
B) info tail n -10000 Massivelog.log | extract.txt;
C) get content './Massivelog.log' -Last 10000 | extract.txt
D) get-content './Massivelog.log' -Last 10000 > extract.txt;
Correct Answer:
Verified
Q141: An analyst is participating in the solution
Q142: An organization is assessing risks so it
Q143: A Chief Information Security Officer (CISO) is
Q144: A financial institution's business unit plans to
Q145: A security is responding to an incident
Q147: Which of the following are components of
Q148: A security analyst is investigating a system
Q149: Which of the following session management techniques
Q150: A cyber-incident response analyst is investigating a
Q151: An organization was alerted to a possible
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents