Blog

26
Jan

Use PowerShell to find unmanaged computers

Posted by | · · · | PowerShell · SCCM | No Comments on Use PowerShell to find unmanaged computers

Greetings fellow IT geeks.  Today’s post is centered around PowerShell and a recent request we had from a client. The Issue So like many companies out there, there can be many computers in your SCCM database and Active Directory that are one or more of the following: Stale AD Object Non standard computer name (likely meaning […]

Read More
07
Dec

PowerShell Training: Switch Parameter Validation

Posted by | · · | PowerShell | No Comments on PowerShell Training: Switch Parameter Validation

Summary There are many ways to validate the presence of a [switch] parameter within a PowerShell script or function, but some are definitely better. This post provides a PowerShell function that demonstrates the results of various validation methods and specifies which methods should be used. Introduction PowerShell provides a number of options for both accepting […]

Read More
02
Dec

Why Can’t we all just get along? AKA Task Sequences vs PowerShell (32/64 bit)

Posted by | · · · | PowerShell · SCCM | No Comments on Why Can’t we all just get along? AKA Task Sequences vs PowerShell (32/64 bit)

Once Upon A Time…. I was recently in a situation where I needed both 32-bit and 64-bit PowerShell scripts to be able to read/write Task Sequence Variables. After trying various methods I was able to get the 32-bit scripts to read and write Task Sequence Variables successfully.   All Was Well Until… The scenario was […]

Read More
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
21
Sep

The Model Portal: Intro

Posted by | · · · · · · · | Azure · Orchestrator · SMA | Comments Off on The Model Portal: Intro

Hi all, Automation tools are great! We all spend hours creating endless amounts of automation, but for who to consume? Do you have a good way to delegate to other IT personnel specific runbooks or individual PowerShell scripts with normalized input parameters to ensure the Automation will be executed successfully? Wouldn't it be nice if a portal could [...]

Read More
29
Jul

Azure Automation Runbook to interact with On-Prem SQL via Hybrid Runbook Worker

Posted by | · · · · · · · | Azure | No Comments on Azure Automation Runbook to interact with On-Prem SQL via Hybrid Runbook Worker

Hi all, I’ve been spending several of my minutes lately reading and writing to an on-prem SQL DB via a Hybrid Runbook Worker from Azure Auotmation; so I figured I’d share some learnings. In our custom developed solutions such as, our Automated Server Patching Solution for example, we’ll use custom SQL DB’s to track the workflows. This […]

Read More
08
Jul

Detection Methods, Configuration Items, and more – Oh My!

Posted by | · · · · · · · | PowerShell · SCCM · Uncategorized | No Comments on Detection Methods, Configuration Items, and more – Oh My!

Setting the Scene With the release of SCCM 2012, Microsoft brought many improvements to the SCCM product. One of them was the introduction of the Application Model. The Application Model allows software to be deployed in a much more intelligent manner than the older Package model. However, despite all the benefits of the Application Model, […]

Read More
29
Jun

One editor many Languages – Visual Studio Code

Posted by | · · | PowerShell · Uncategorized · Windows 10 | No Comments on One editor many Languages – Visual Studio Code

I have been working a lot with Power Shell ISE and debugging scripts,  PS ISE is good but not the best as a debugger.  I was attending a Microsoft event when I was introduced to my new favorite editor, Visual Studio Code editor,  which was released to public preview on April 14, 2016.  You can customize it by installing […]

Read More
09
Jun

SCSM: UR7 Bug & Fix: Activity Implementers Unable to Complete Manual Activities

Posted by | · · · · | SCSM | Comments Off on SCSM: UR7 Bug & Fix: Activity Implementers Unable to Complete Manual Activities

Summary SCSM 2012 R2 Update Rollup 7 introduced a bug with the permissions of Activity Implementers. This post contains a script used to create a workaround until the bug is addressed. Introduction   In a previous post (link), I discussed why SCSM 2012 R2’s Update Rollup 7 was essential to any organization using SCSM. That […]

Read More