Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Enable or Disable My Network Adapter?

  Hey, Scripting Guy! At my office I access the corporate network by using a wired ethernet connection. However, when I come home, I have a wireless connection. Since our security guys do not allow us to have multiple network connections active at the same time, I am constantly enabling the wireless connection when I get home, and ...

Hey, Scripting Guy! Australian Dispatch #2: A Metric Ton of Scripting

After nearly 20 hours in airports and planes, the giant Boeing 747 aircraft touched down on the runway at Sydney International airport-my scripting eyes were glued to the insides of my eye lids. It is rather evil the way they give you a test to see if you are qualified to enter the country...not Australia, all countries do this. Why are you ...

Hey, Scripting Guy! Australian Dispatch #1: How Does a Scripting Guy Pack for a Trip?

Three o'clock in the morning is early for anyone, even a scripting guy. Yet there was this persistent annoying ringing sound that kept trying to interrupt my short-lived sleep. At last I was able to put a name to the intrusion. Alarm clock. It is time to get up. Today I begin the process of going to Australia. The flight goes from Charlotte...

Hey, Scripting Guy! How Can I Write to Excel Without Using Excel?

Hey, Scripting Guy! I need to be able to write information to an Excel file. I do not want to install Microsoft Office Excel on my server, but the spreadsheet format is a nice way to store information. I can then give it to my pointy-headed boss, and he can create pivot tables, charts, or whatever exactly it is he does all day. Basically, ...

Hey, Scripting Guy! How Can I Read from Excel Without Using Excel?

Hey, Scripting Guy! I have an Microsoft Office Excel spreadsheet with server names in it, and I would like to be able to use this in a Windows PowerShell script. The thing is, I do not have Microsoft Office or Excel installed on the server. How can I use this spread sheet without installing Office on my server (which I understand is ...

Feedback usabilla icon