Browsed by
Tag: Beginner

Pipelines and Objects

Pipelines and Objects

Two strong points of PowerShell are the ability to work with Pipelines and Objects. PowerShell is built on top of .NET and has the ability to work with .NET objects as well as sending and receiving information from the pipeline. Objects To developers, asking them to go from an object based language to one that parses text for input/output would get you laughed at. That is exactly why when Microsoft decided to write a new console and scripting language they…

Read More Read More

Introduction to Cmdlets

Introduction to Cmdlets

For years Microsoft has played a trick on systems administrators. They convinced you that you could administer Windows Servers at the same scale that Linux administrators could. While that sentiment is true the tooling wasn’t always geared towards system administrators. You had MS-DOS and batch files that you could use to automate anything you could do at the command line as well as VB scripts for more programmatic automation. The trouble is, batch lacks an interface into most of the…

Read More Read More

Introduction: PowerShell Direct

Introduction: PowerShell Direct

PowerShell Direct is a new feature to Windows Management Framework version 5 that allows for Windows hosts to run PowerShell commands against a Hyper-V guest. Think of this as PowerShell Remoting without the need to enable remoting on the guest operating system. Your guest doesn’t have to configure the firewall to allow for remoting. You don’t even need a network card. Instead of the Hyper-V rolling out their own PowerShell Direct remoting tool Microsoft opted to integrate PowerShell Direct into…

Read More Read More

PowerShellGet Introduction

PowerShellGet Introduction

With PowerShell version 5 Microsoft released a way of installing modules using PowerShell. Before v5 you would have to copy modules into specific folders where the module folder name has to be exactly has the module .psd1 file. Getting it right for someone who wasn’t writing modules was hard. I know at work I would simply copy the files for them into C:WindowsSystem32WindowsPowerShellv1.0Modules so the modules could be loaded in the user’s session. Those days are thankfully gone. PowerShellGet works…

Read More Read More

Why Write About PowerShell

Why Write About PowerShell

In one word: Community. I’m one of those IT Pros who entered IT without formal training. I have no degrees in any of the IT related disciplines, I am almost completely self taught. I excelled in the field due to my ability to find solutions to problems online and in my confidence that if I broke something I could likely fix it. Creating documentation has never been a strong skill for me. I have a habit of finding solutions online…

Read More Read More