Powershell: Adventures in Plaster

David Christian recently wrote an article about how to use Plaster on OverPoweredShell.com. If you are new to Plaster, I pulled this from the Plaster readme. “Plaster is a template-based file and project generator written in PowerShell. Its purpose is to streamline the creation of PowerShell module projects, Pester tests,... [Read More]

Powershell: PSGraph the Get-Help related links

I saw this tweet by Glenn Sarti where he was building a graph database of the PowerShell help system as a way to demonstrate Neo4j. @MSFTzachal As promised I wrote my PowerShell Help graph presentation (PS Summit) as a blog post instead https://t.co/zuQzXf7ysy— Glenn Sarti (@GlennSarti) May 7, 2017 I... [Read More]

Powershell: Writing a TypeExtension DSL, DSLs part 4

Steffen Stranger pointed the PowerShell-RFC RFC0017-Domain-Specific-Language-Specifications out to me recently. #psconfeu RFC proposes a C#-based mechanism for defining DSLs in #PowerShell. https://t.co/YF850s8Q01 cc @KevinMarquette @mcnabbmh— Stefan Stranger (@sstranger) May 4, 2017 The RFC is about making it easier to implement a DSL in Powershell with C#. They have an example... [Read More]

Powershell: What have you done this month? April 2017

Here is a breakdown of all the posts and other Powershell projects that I worked on this month. Personal/Community efforts These are the projects and idea that I do on my own time for the community. Most of my personal projects are published on this blog or as a contribution... [Read More]
Tags: Monthly

SQL: Running SQL 2017 CTP 2.0 in Docker

I saw an announcement for SQL Server CTP 2017 CTP 2.0 recently and I wanted to try it out. I went to the eval page and I saw they have a Docker image for Windows listed for this release. It had a fresh update on the Docker site but did... [Read More]
Tags: SQL Docker

Powershell: Remote install software

I previously covered how to silently install a MSI. The next thing an administrator wants to do is install it on a remote system. That is the logical next step. This isn’t always the easiest task for someone new to PowerShell. Index Index Introduction Running installers remotely Installing from a... [Read More]

All .Net Exceptions List

When I am creating error messages in PowerShell scripts, I like to use common .Net exceptions. Most of the time when I am searching for a list of exceptions to use, I end up using the All .Net Exceptions list generated by Mike Vallotton. I thought it was a clever... [Read More]

Powershell: What have you done this month? March 2017

I did a lot more this month than I expected. Here is a breakdown of all the posts and other Powershell projects that I worked on. Personal/Community efforts These are the projects and idea that I do on my own time for the community. Most of my personal projects are... [Read More]
Tags: Monthly

Mnemonic wordlist

We were having a conversation recently at work about server naming conventions and it reminded of an article where the author was using a mnemonic word list to name servers. After a little digging, I was able to track it down. Index Index A proper server naming scheme Oren Tirosh’s... [Read More]
Tags: Other

Powershell: The many ways to read and write to files

Saving data to files is a very common task when working with PowerShell. There may be more options than you realize. Let’s start with the basics and work into the more advanced options. Index Index Working with file paths Test-Path Split-Path Join-Path Resolve-Path Saving and reading data Basic redirection with... [Read More]

Powershell: DSL design patterns, DSLs part 3

When I was working on my DSL, I found that I had to be more creative with my advanced function implementations than I do with normal advanced functions. When it comes to writing a script CmdLet, there are lots of community standards and expected behaviors already defined. When creating a... [Read More]

Powershell: Installing MSI files

The nice thing about Powershell is that you can run any command line application from the shell. That is a common way to install things. Calling the installer is often the same as double clicking on it. If you call an MSI, it will pop up and start the install.... [Read More]

How I understand WOL (Wake on Lan)

The way WOL works is that the NIC has to receive the magic packet. This packet has a special bit pattern and the MAC address of the NIC. If you want to wake up 5 machines, that is 5 different magic packets. All you have to do is get this... [Read More]
Tags: WOL Other

Kevin Marquette, Launches Site (test post)

This is just a test post. This will be just a quick first test post. I am using github pages for this and using Jekyll so I can use Markdown to author my posts. It actually is a lot easier than I thought it was going to be. This is... [Read More]
Tags: Other

Kevin Marquette, Old Content

If you are looking for all my old posts and content, they are still over on blogger http://kevinmarquette.blogspot.com . I am going to leave that site up and going even though my new content will be posted here. [Read More]
Tags: Other