Skip to main content


Showing posts from May, 2018

Powershell arsenal to get you started

Here is my list of helpful information to you get started in PowerShell to ultimately automate your entire infrastructure.

BeginnerPowerShell In A Month Of Lunches:

PowerShell 4Noobs:

Getting Start With PowerShell. Free from Microsoft Virtual Academy:

Windows Server Administration Fundamentals Using PowerShell:

IntermediatePowerShell Scripting In A Month Of Lunches:

Mastering Windows PowerShell Scripting:…

[string]$My_New_Journey = 'Learning the back end of PowerShell' classes and methods

So, what will my first write-up be about? Learning the back-end of PowerShell. PowerShell calls on the .NET framework and allows you to access .NET API's. It also allows to to call in "classes". These classes hold valuable information of different types, methods, and how you interact with certain aspects of PowerShell. It's one thing to be able to use these classes (blueprints) and methods (actions). It's another to be able to CREATE them. With that, since PowerShell accesses a ton of C#, let's jump into C# (Please Note: I'm a total C# noob).

First, you start off with your application. I chose a standard console application.

On the top, you see "using". What is "using"? Using allows you to import certain libraries of the .NET framework in C#. What are libraries? In short, libraries hold a ton of classes. Those classes contain the methods that you will be calling. Often, folks call classes the "blueprint". So think of librarie…