Entries Tagged as 'tutorials'

PowerShell tutorial. The While Statement

Similarly to the for statement, the while statement is another type of loop that parses through a collection. The while statement also includes a conditional code block and a script block and continues for so long as the conditional code block equal true.

[Read more →]

Building Web Sites for Profit and Fun – Relevant References

The great paradox of the internet is information. The internet provides such a vast array of information that just about anyone can learn just about anything about just about any subject. On the other hand, without near infinite time to weed through it all, it becomes increasingly difficult to find reliable, pertinent, and quality information. The sheer volume has become both the benefit and the draw back. And with as many tech-savvy persons as there are out there, the amount of information pertaining to web design and development is astronomical. Throughout the years, I have gathered a list of sites I have tried and tested for valuable content and who I turn to for relevant references.
[Read more →]

Powershell tutorial. The For Statement

This week’s lesson builds on last weeks tutorial but introduces the For statement. The For statement uses a counting loop that processes and continues through a collection as long as the condition equals true. Similar to If statements, the for statement includes a conditional code block and a script block. However you will see that the conditional code block is far more complex.

[Read more →]

Cloning drives for free, no matter the operating system.

Pretend you’ve got 5 identical windows 2003 servers (or any server for that matter – cent os, windows 2003, 2008, and mac os even!) to setup in one work shift. Why break your back trying to install them one at a time on top of doing all the updates? You can just do one base install and ‘ghost’ the drive. “That’s expensive”, you might proclaim! Not so – in fact, I’ll let you in on a little secret – Gparted. Why spend $700 on cloning software when you can just do the same job for free? Yeah, free! Free as the air you’re breathing right now (unless you’re in space, reading from the ocean, or maybe reading from Mt. Everest).
[Read more →]

Windows PowerShell the if statement

There are several ways to control the flow of code within your powershell scripts. The if, for, and while statements are used to define conditions and the actions to happen when the conditions are met. In this blog I’ll focus specifically on the if statement.

[Read more →]