Solved

Massivelog

Question 146

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents