CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 13: CS0-002: CompTIA CySA+ Certification Exam (CS0-002)

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?

Nội dung câu hỏi

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?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. tail -10000 Massivelog.log > extract.txt
  2. B. info tail n -10000 Massivelog.log | extract.txt;
  3. C. get content './Massivelog.log' -Last 10000 | extract.txt
  4. D. get-content './Massivelog.log' -Last 10000 > extract.txt; — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề