I am running this command to find out when a license will expire on a set of servers:
cscript c:\Windows\System32\slmgr.vbs $server /xpr | Add-Content $LogFile
The output that is written to the LogFile looks like this:
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Windows Server(R), ServerStandard edition:
Volume activation will expire 6/15/2014 1:12:33 PM
How can I remove the first three line in the output text file?