ก่อนอื่นให้เปิด โปรแกรม Windows Powershell ขึ้นมาก่อน (แนะนำให้เปิดในโหมท run as administrator)
เมื่อได้หน้าจอขึ้นมาแล้ว พิมพ์คำสังดังนี้
รูปแบบ
Code: Select all
Get-Content myTestLog.log –Wait
Code: Select all
Get-Content D:\xampp\apache\logs\access.log –Wait