Archive

Archive for February, 2014

Quickie: Tail in Powershell

February 28th, 2014 2 comments

There is lots of great tools in Linux which are needed in Windows environment. One of the great tool from linux is “tail”. You can use it following way:

tail -f /var/log/mail.log

You will get end of the file and you see all content added to file on screen. You can view log files without need to reopen it. In Windows I use utility Trace32.exe. I was looking for some more native way to do it in Windows. There is a cmd-let Get-Content in Powershell which you can use following way:

Get-Content C:\Windows\WindowsUpdate.log -Wait -Tail 10

This tails only 10 lines from the end of the file and “waits” for new added lines. Switch “Tail” is accessible only in PowerShell 3 and higher.

Powershell is getting there,

RemoteApp Name problem

February 26th, 2014 No comments

At one customer I have implemented RemoteApp on Windows Server 2012 R2. Clients connecting to RemoteApp were Windows 7. Everything worked fine besides one computer. When I launched RemoteApp from application provided automatically using Control Panel, I received following error (This RDP file is corrupted. The remote connection cannot be started.):

When I tried to run application using Web portal everyhing worked fine.

Names of the RemoteApp contained diacritics and name was displayed in bad form:

So I tried to disable all diacritics in RemoteApp names and everything started to work as it should.

Weird things are:

  • There are not limits defined on web for RemoteApp names
  • There are not errors logged anywhere with saying anything about “bad name” in RemoteApp

So remember not to have any other characters in RemoteApp names besides clasis english ones.

Have a nice day,

 

Moj prvý pokus o prezentáciu na ShowIT 2013

February 12th, 2014 No comments

Nech sa paci LINKA.

 

Categories: Microsoft, Windows Tags: ,

Moje prednášky pre ShowIT 2014

February 12th, 2014 No comments

Na ShowIT tento rok som dostal priestor pre dve prednasky:

Deep-dive do Group Policy plus novinky Windows 2012 R2

Úložisko a de-duplikácia dát vo Windows 2012 R2 s podporou VDI

Casom budu aj videa 🙂

 

Categories: Microsoft, Windows Tags: , , ,