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

PowerShell

Server 2012 R2 – Storage Spaces – A Software Defined Storage by Microsoft

You know ... when I was young (bear in mountainsJ) the server was meaning a file server and Novell as well. In 2000 Microsoft released Server 2000, Active Directory and have changed the world once forever. We will never forget year 2002 when Windows XP was born and of course Server 2003. It was great time to participate in this revolution. We were so proud doing migrations to XP/2003 world. Once it was done we choose to rest, not we … Microsoft did it. It's funny but what you should be aware in live ......

PowerShell – Sexy PoSH console

PowerShell don't has to be boring. Download this module: http://www.powertheshell.co... Extract it into C:\Windows\System32\Windows... may need to enable both module files by right clicking | Prosperities |Unlock) Now you can start PowerShell window: Import-Module PTSAeroConsoleEnable-AeroGl... Enjoy ......

PowerShell – duplicated files in Windows Media Player library

Holiday! .. But why it's raining. Let's cleanup some duplicated MP3s. Maybe the rain will stop in the meantime. For sure this code is not optimized, and I am not recommending anyone to use it. If you uncomment move actions you can reduce number of duplicated media files in your Windows Media Player library. You can consider it as an example how to access and browse WMP using PowerShell. $wmp = New-object –COM WMPlayer.OCX$playlist = $wmp.mediaCollection.getAll... { if ($playlist.item($i).sourceURL ......

Server 2012 GUI – to be or not to be …

That's the question J This quick post is inspired by one of feedbacks. To enter into PowerShell just type powershell in CMD To make Server 2012 core server: PowershellUninstall-Windows... Server-Gui-Shell, Server-Gui-Mgmt-InfraShutdown –r To restore server's GUI PowershellInstall-WindowsFe... Server-Gui-Shell, Server-Gui-Mgmt-InfraShutdown –r Voila ! P.S. Of course it not works for 2008 ......

Server 2012R2 – PowerShell Web Access

Haha … Sometimes I'm joking that there is nothing worse than Linux fanboi imprisoned in Windows engineer's body. Maybe someday I will start blogging about my noob's experiences. However let's stick to the point. Sometimes the easiest solutions are the best. After couple of tries how to reach left pocket using right hand I'm going to follow easy path. Today's plan is very easy, I'm going to take advantage of Server 2012 and install Web gateway to PowerShell console. After that I would be able execute ......

Easter egg – OMG^2 the true PowerShell in bash window

Let's continue this crazy experiment. More or less it should works on any distro in my case it is Ubuntu 13. The idea is to use wine (Wine Is Not an Emulator J) to install Powershell 2.0 for Windows XP. Wine can emulate W7 or W8 however it refuses to install .MSU packages. To reach our goal we will need to use experimental wine 1.7 or above and EXE file so … For the science!!! sudo add-apt-repository ppa:ubuntu-wine/ppasudo apt-get updatesudo apt-get install wine1.7 winetrickswget http://kegel.com/wine/winet... ......

AZURE - Stairway To Heaven

Before you’ll start reading please start to play this song. OK boys and girls, time get familiar with clouds. Time to become a meteorologist. To be honest I don’t know how to start. Is cloud better or worse than on campus resources … hmm … it is just different. I think for successful adoption in cloud world IT Dinosaurs need to forget some “Private Cloud” virtualization bad habits, and learn new way of thinking. Take a look: - I don’t need any tapes or CDs (Physical Kingdom of Windows XP and 2000) ......

SCOM 2012 R2 – How to put servers into Maintenece mode using PowerShell

In more or less ITIL's world you have to monitor availability and performance of your servers. However from time to time you need to apply approved changes, what means temporary unavailability or performance degradation. When we talk about Worldwide organizations, in many cases it is really hard to inform everyone about upcoming changes. Sometimes you don't want to inform anyone, you just don't want to wake up your colleagues at 2:00 AM their local time. So to apply the change in elegant way let's ......

Active Directory – How to promote Server 2012 R2 to DC and even more using PowerShell magic

It will be quick post, I have limited access to the Internet. Today we are going to promote Windows 2012 to Domain controller and move some unique roles to it. It can be handy in DR scenario, or when we are going to raise domain functional level. It is very easy task, so to make some fun I'm not going to touch a GUI. Prepare AD forest for Server 2012 if it is needed. Of course as a Schema Admin, of course it is one way ticket, so think twice before you do anything.Don't forget about backing up your ......

OMG!!! A PowerSHELL within the bash console!

Each year during last days of the calendar year most of corporations enters into change freeze mode. During these days IT pros have to do … nothing J ! This is an example, how these stories usually ends .. I don't like to wear a hat, especially red, so my favorite penguin is named Ubuntu. I found nice .DEB package named winexe http://download.opensuse.or... After the installation we have access to new command, let's test how it works in "practice" ......

Full PowerShell Archive