![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Different behavior of "Get-Content -Wait" on Windows Server 2008 I use "Get-Content -Wait <Logfile>" in situations where I have to troubleshoot transport issues on my Exchange Server 2007. When running on Windows Server 2003, the command opens the Logfile, then keeps it open and displays new content in the logfile immediately. When running on Windows Server 2008, the logfile is opened, kept open, but new content is not displayed. What am I missing here? I tried running PS as adminsitrator - with no succes. Any ideas what I can do? Is this a known issue?` TIA -- Christian Schindler |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Different behavior of "Get-Content -Wait" on Windows Server 2008 Are you using the same version of Exchange of both machine? Does Exchange always append to the log or will it modify exiting records. Does this depend on the size of the log. Exchange like most services likely do cache the log entries and do a lazy write. Which means nothing goes to disk till after the write. If you can force a write do so. Can you reproduce this outside of Exchange 2007? i.e. using notepad create a file, write to it, save it gc <file> -wait either reopen the file in notepad or if its still open append to the end of the file and save it If the works or you think this may be related to exchange you should probably repost there. "Christian Schindler" wrote: Quote: > I use "Get-Content -Wait <Logfile>" in situations where I have to > troubleshoot > transport issues on my Exchange Server 2007. > > When running on Windows Server 2003, the command opens the Logfile, then > keeps it open and displays new content in the logfile immediately. > > When running on Windows Server 2008, the logfile is opened, kept open, but > new content is not displayed. > > What am I missing here? I tried running PS as adminsitrator - with no > succes. > > Any ideas what I can do? Is this a known issue?` > > TIA > > -- > Christian Schindler > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: "Virtual Server 2005 R2 SP1" on "Windows Web Server 2008" host? | Virtual Server | |||
| TcpClient throws "invalid pointer address" exception on Server 2008 | .NET General | |||
| how to make the email content text indexed by "Windows Desktop Search 4.0" ? | Live Mail | |||
| MS Hyper-V Server install as VM on Windows 2008 Ent error - "No active network adapters found" | Virtual Server | |||
| Message "Wait while Windows configures..." when I launch applicati | Vista performance & maintenance | |||