Skip to content

Instantly share code, notes, and snippets.

@trodemaster
Created October 11, 2013 18:29
Show Gist options
  • Save trodemaster/6939694 to your computer and use it in GitHub Desktop.
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.
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