Profile cover photo
Profile photo
Øyvind Kallstad
93 followers
93 followers
About
Posts

Post has attachment
Quick tip: Fix those line endings in #PowerShell

In dealing with data transferred between different operating systems, we often come across the irritating phenomenon of, what might appear as, a file without any spaces in them. This is of course because of different end of line (EOL) characters, and I’m…

Post has attachment
Invoke-WinMerge #PowerShell

Doing file compares can be quite confusing using Compare-Object, so unless you only want to check for equality, using a GUI can be tremendously helpful. Enter WinMerge. I guess most of you have used, or are currently using, this fabulous tool. I created a…

Post has attachment
View #Steam wishlists with #PowerShell

With Steam having frequent sales, I find I often pop into my own, as well as my friends wishlists to plan purchases. Wouldn’t it be great to be able to list a wishlist from the PowerShell console?

Post has attachment
For the first post of 2016 I’d like to take a look at the year that we have just left behind, as well as try to peek into 2016.

Post has attachment
Get-RootMeanSquare #PowerShell

Ever needed to get the Root Mean Square of a set before? Me neither, but I went ahead and created a small function for it anyway.

Post has attachment
Observations on writing to Screen and File in #PowerShell

When writing a PowerShell script, you are typically doing “something” with “something” and getting a result based on this “doing”. This is all well and good, but after you have gotten your result what do you do with the data? Two common scenarios are…

Post has attachment
Pro tip: Choosing the best collection for the job #PowerShell

You need to store a collection of data of some sort, so you stuff it in an array, problem solved, right? But is an array the best solution for your script? And should you care?

Post has attachment
Progress Bar and Seconds Remaining in #Power

In my last post about using progress bars in PowerShell, we went through the basic usage, as well as nesting of progress bars. There was however one parameter that I didn’t discuss, and that I seldom see used; the SecondsRemaining parameter.

Post has attachment
Quick tip: Enums with FlagsAttribute in #PowerShell

If you have worked with PowerShell for a while, chances are you are familiar with Enums. If you have also worked with more traditional programming languages you definitely are familiar with Enums! Enums can have custom attributes, and one such attribute…

Post has attachment
Quick tip: Easy access to special symbols in #PowerShell

In this quick tip, I’m going to show you a way to organize and quickly access special symbols in PowerShell.
Wait while more posts are being loaded