Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Back Up Specific Folders on My Windows Computer?

Hey, Scripting Guy! I would like to be able to perform a backup of only certain folders on my Windows Vista laptop. I am concerned about running through the airport and having it getting bumped, dropped, or stolen. My job requires me to travel extensively, and I am just paranoid about a laptop crash and about losing my data. Can you help me...

Scripting: Your First Steps

  A long time ago, even before any of the Scripting Guys were born, people used to walk from one place to another. Not for exercise or recreation, but because they had to get somewhere. Those who were fortunate enough to have other forms of transportation could move along a little more quickly on their horses, camels, elephants, or ...

Hey, Scripting Guy! How Can I Use Windows PowerShell to Run Daily Checks on My SQL Server 2008 Servers?

Hey, Scripting Guy! I have several items I have to check daily on my SQL 2008 servers. I currently have some VBScripts that do many of my tasks, but there are some new things I want to do. I figure that Windows PowerShell would be easier. Do you have any pointers?- SC Hi SC, It is becoming late as Ed continues plowing through almost 200 e-...

Hey, Scripting Guy! How Can I Use the SQL Server Mini-Shell Version of Windows PowerShell?

Hey, Scripting Guy! One thing I do not understand is why the SQL Server team wrote its own version of Windows PowerShell. I thought Windows PowerShell was supposed to standardize things. But the SQL Server team has one version of Windows PowerShell, the Exchange team has another, and then of course there is the Windows PowerShell that we can...

Details Leaked About the 2009 Summer Scripting Games!

It is time once again for the annual Scripting Games. This year, we are implementing some changes. The first change, which will be immediately obvious to even the most casual observer, is that we are doing the Summer Scripting Games instead of having the Winter Scripting Games. One reason is that we like summer sporting events better than ...