Introduction to PowerShell - part 2 - Pipeline, Scripts and Syntax

by Dmitry Kirsanov 25. January 2012 09:30

Introduction to PowerShellAll of a sudden I decided to spend one hour of this evening to make the second part of PowerShell introduction for Windows system administrators. I just noticed, that the previous part was made in… November, and having quite a few requests to continue I just couldn’t resist! So, this is pure improvisation, although I tried to make it as smooth as possible.

This time we’ll dig further into what system administrators do most – working with large arrays of data, such as files, ACL lists and finding objects by special parameters. You will learn about variables in PowerShell and how you can effectively use them. More...

Using Notebook As a Web Server

by Dmitry Kirsanov 16. January 2012 22:35

notebooksThere are many reasons why people decide to host their web projects on notebooks. Either way, the question is not why, but how. Like everywhere else, there are pros and cons in hosting of your web application on notebook hardware, so we are going to discuss here how to do it properly and get most out of it.

Possible reasons to host your web server on a notebook

Usually people think about hosting on notebook, for one or many of these reasons:

  • The price of hosting is higher than expected revenue, or no profit is expected.
  • There are less than 1000 users expected to use this web project.
  • The web application is not consuming much of resources.
  • Notebook is powerful enough.
  • You can’t sell this old notebook, but also don’t want to refurbish it, as it is still working as designed. And now you have this web project of yours that needs cheap hosting.
  • Your internet connection is fast and reliable and you see no reason or have no resources to acquire new hardware and data center (DC) allocation.
  • You want to host the web application on-site but want to keep your electricity bill at minimum.
  • You have to make your server mobile.


The Girl With The Dragon Tattoo (and Apple Notebook)

by Dmitry Kirsanov 14. January 2012 08:31

The Girl With The Dragon Tattoo

This article is about the product placement of Apple in the recent movie by Stieg Larsson’s “The girl with the dragon tattoo”.

I didn’t know, until today, that Apple notebooks suck so much. I mean – they should be the worst notebooks created by human kind. According to the movie, of course, as that was one of my impressions as I left the cinema.

I don’t know how much Apple paid for product placement in The Girl With The Dragon Tattoo – a new movie by David Fincher, featuring Daniel Craig and Rooney Mara with beautiful soundtrack by Trent Reznor, but turns out that was the worst product placement I’ve ever seen. More...

The Battle for Relevance, part 2: The Love Game

by Dmitry Kirsanov 13. January 2012 13:45

PlusOneI thought about what some of my readers and other people said about the new feature of Google, called “Your World”, and all the concerns they had about it. The move was so smart, that it looks like Google outsmarted themselves. If to rephrase the saying “kill two hares with one shot”, the Google managed to kill the whole population of them.

And you know, I hate myself for what I am about to write, because for some reason I think it will be the first shot at the Black SEO frontier of the Battle for Relevance, but hopefully I am exaggerating the problem and it’s only in my mind. I was thinking so when I was writing the first post, too. More...



Advanced Testing in Visual Studio 2010 Team Foundation Server

by Dmitry Kirsanov 5. January 2012 01:10

Team Foundation Server 2010This is part 4 of Visual Studio Team Foundation Server 2010 for Developers walkthrough. Last time we were speaking about the unit tests, and that was useful, but very basic foundation of what you can do in terms of Test Driven Development. However, we can conventionally separate testing in Visual Studio and Team Foundation Server to 3 levels. So today we are going to talk about the second level – Advanced Testing techniques, such as Test Impact Analysis, Coded UI Tests and Load Tests.

If that’s only the middle layer of complex testing in Visual Studio 2010, what’s in the last one, you might ask? There will be test automation using Hyper-V virtualization with Virtual Machine Manager and yes, we will discuss it later as well.

But today we’ll begin with Test Impact Analysis. More...

2012: Battle for Relevance

by Dmitry Kirsanov 1. January 2012 08:00

social-network2011 was a year of great changes. For example, the SEO changed so much, that applying principles which were effective long time ago, would bring your website down. But surprisingly, the same we can say about the social networking. This post is about the dramatic changes I foresee in social networking in the year 2012.




Test Driven Development in Visual Studio 2010 Team Foundation Server

by Dmitry Kirsanov 27. December 2011 22:50

Team Foundation Server 2010This is the 3rd post in a series of articles about Visual Studio Team Foundation Server 2010 for developers. And this time it is about test driven development. Previous one is available here.


Test Driven Development is the concept, which dictates creating unit tests before actually writing the code. To help you to understand this, let’s assume that you are writing the calculator program. And that whole calculation process is done by a separate class named Calculator with functions such as “Addition”, “Subtraction”, “Multiplication” and “Division”.

Now, according to Test Driven Development process, you should first create the test project, and write your tests for each of these functions. Since you know what result should be given for what input (like – “2 + 2 = 4”) you can make your tests to assert, that if you are running the Addition function with parameters of 2 and 2, the result is 4. If the result is different or exception occurs – the test is failed. More...

Why e-Learning Is Better

by Dmitry Kirsanov 23. December 2011 21:37

Tree of KnowledgeBold title for an article, as it implies that I am not going to analyze the advantages of the subject but to prove right from the start why it is what I think it is. But the truth is – the question about e-Learning usually sounds exactly like that – why e-Learning is better, not “is it better at all” – people need an answer and they need it fast. So – here it is.

For about 3 years I’ve been working as senior mentor at New Horizons training center. I was training different kinds of people – established IT professionals and students, people coming to IT from other areas and even few ex-schoolboys. The training experience was the most precious part of that job. More...

Of Action and Reaction

by Dmitry Kirsanov 21. December 2011 20:31

AtlasThis story happened 2 years ago. That time I was training IT specialists sent by their companies to acquire various certifications – be it MCSE, MCPD or even CISSP. I had a colleague, and she was very passionate about training people to achieve new heights, and once she got a bright idea.

The idea sounds like that – all of our students are established IT specialists, many of them are heads of their IT departments and lead developers. They are very motivated both by their employers and themselves. There is no problem to teach them anything new.
But what if we will train someone, who is not motivated at all? What if we’ll take a group of high school pupils and train them for something simple yet useful – like Windows Vista Administration certification?

Yes, we wanted to train any amount of school kids to get a certification they would otherwise pay hundreds of dollars for. For free and during a week.

My colleague wanted to perform that training at her former state school. She was just 23, so she knew all the teachers and the principal of that school. It was easy to set up the meeting and so we met the principal and IT teacher to discuss the event.

Although they didn’t really got why we would do that, they could agree to host the event using the equipment of IT class. However, it all depended from one question – how much money would they get from it. That is – you know, electricity and stuff – we would pay for that, right?


Of course, we didn’t talk with them afterwards.

The morale of the story is – more often than not, your good intentions, especially when they are intelligent and have benefits which needs to be explained, will be treated hostile and you won’t get well deserved respect for them. Yet another argument of the objectivism theory, which states that we all look at the world through the prism of our perception. And this leads to the necessity to defend your ideas, even if the whole idea doesn’t give you any value. And this means, that having power to do “good” alone is not enough. As more such power you’ll have, as more resistance you’ll face. The irony lays in the fact that you’ll face resistance from those you’re trying to help.

Choosing Laptop for Blogging

by Dmitry Kirsanov 18. December 2011 22:00

This is a story about me choosing the notebook for maintaining this blog.

Usually I am writing about something related to technologies which I am either exploring or training. Sometimes it’s about non-technological parts of the training or lifestyle. Something that consumed considerable amount of time to learn or get to. I’m sort of showing a shortcut to others and we usually call it “sharing of knowledge and experience”.

Since I am very serious about keeping my blog to be a useful and creative place, I decided to devote more time to it – especially the time when I am most mentally capable. And during that time I am usually far from my main 17” laptop – heavy powerful gaming-class machine which is theoretically portable.

So I made a decision to purchase a laptop especially for blogging. Taking into account that this blog doesn’t bring any income – pretty much enthusiastic move. But however, I’ve started with research. More...

Month List