Waclaw Chrabaszcz
... there is no spoon ...

June 2015 Entries

Linux & VMware player – Maybe one day we’ll be united

Another quick post inspired just by live. I just remind myself about VMware Player in Unity mode. In pure Windows ecosystem it maybe not makes any sense. But Office 2013 on Linux is a dream of many people. So a very simple and old trick to present applications executed on virtual machine and how much fun! It is really nice to enjoy Compiz experience mixed with MS office and PowerShell ISE. OK, time to build some Domain Controller … https://my.vmware.com/web/v... ......

PowerShell – How to display multicolor messages

A quick post … I'm very busy. I'm scripting right now and I would like to display "green and red messages" to let my colleagues easy interpret script outputs. Take a look on this simple trick: $server = "server1"Write-Host "Testing $server connection ... " -NoNewlineif (Test-Connection $server -Quiet) {Write-Host "OK" -ForegroundColor Green }else {Write-Host "Failed" -ForegroundColor Red } All magic is hidden behind –noNewLine parameter Cheers ......