Created
October 11, 2013 18:29
-
-
Save trodemaster/6939694 to your computer and use it in GitHub Desktop.
Powershell code for tailing the latest VMware Virtual center log file. Requires PowerShell 3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-Content (Get-ChildItem "C:\ProgramData\VMware\VMware VirtualCenter\Logs\vpxd-[0-9]*.log" | Select FullName -Last 1 | % { $_.FullName }) -Tail 1 -Wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment