Blog

26
Oct

PowerShell Training: Sorting Version Numbers

Posted by | · · · | PowerShell | 1 Comment on PowerShell Training: Sorting Version Numbers

Summary Sorting version numbers as strings can fail to order them correctly, but the [Version] type accelerator can be used to sort them correctly. Introduction Here at Model Technology Solutions, we spend a lot of our time writing PowerShell and we have a number of processes for managing that code. As part of one of […]

Read More
24
Oct

Reporting on SCCM Application Deployment Progress with Powershell

Posted by | · · · · | PowerShell · SCCM · Uncategorized | No Comments on Reporting on SCCM Application Deployment Progress with Powershell

This month, I’m going to show you a new approach to getting deployment status out of SCCM. Most of you are familiar with using SCCM Reports, or the SCCM console to get deployment status when asked.  Usually, when asked, I turn to SQL.  However, I was looking at all the cmdlets that come with SCCM […]

Read More
17
Oct

Admins Toolbox – PowerShell Execution Time

Posted by | No Tags | PowerShell | No Comments on Admins Toolbox – PowerShell Execution Time

Hello again have you ever wondered how long it took to execute a powershell script or command? With a few lines of code we can retrieve that information from your history. We can pull from history the last executed command and set it as a variable. $command = Get-History -Count 1  Using builtin property’s EndExecutionTime and StartExecutionTime we […]

Read More
05
Oct

Server 2016 Container Basics

Posted by | | Hyper-V | No Comments on Server 2016 Container Basics

Hi again all! With the recent announcement of Server 2016 going GA I decided it was finally time for me to start to understand containers.  The first thing I wanted to accomplish was to have a high level understanding of what a container was and why you would use them.  Below are a few very […]

Read More