Categories

5 articles in Powershell
Setting up Powershell console profile
In my previous post I talked about setting up vim plugins. I've been using vim on the commandline quite a bit now and have found a couple of useful commands that I like to have setup to make use a bit easier. The Powershell $profile Powershell has the $profile variable which is a path to the… 
Scripting the Installation of Powershell 4.0
I got a bit fed up with upgrading PowerShell on a number of different servers so decided to write a script to automate the task. I appreciate that it doesn’t take long to click download and install but after using chocolatey you start to realise how easy it can actually be with a little bit of… 
Parsing Visual Studio Files with Powershell
Most companies have some pretty complicated legacy code bases with a multitude of applications and shared libraries. It can be quite difficult to see how the solutions and projects fit together. With the push towards devops and microservices it’s nice if we can carry some of the legacy applications… 
Calling Web APIs with Powershell
You go along way by calling apis at the command line. Powershell provides the following methods that you will find useful... Invoke-RestMethod Invoke-WebRequest ConvertTo-Json ConvertFrom-Json Examples of simple api web request Examples using the IE Browser Proxey settings 
Scripting Database Table Create SQL using Powershell
PowerShell is quite high on my list of languages that I dip in and out of without really knowing nearly well enough. One of things that I have found myself doing quite regularly is trying to script SQL for creating tables. This is quite straight forward using Sql Server PowerShell A simple Example…