Blog

08
Sep

CM Tech Preview 1708 – Make Scripts work for you!

Posted by | · · | PowerShell · SCCM | No Comments on CM Tech Preview 1708 – Make Scripts work for you!

Greetings everyone, If you haven’t heard by now, the newest branch of SCCM 1706 brought the concept of managing PowerShell scripts within the Administrators console that can be executed against Devices or Device Collections.  This a an awesome feature that has tons of possibilities.  You may have quickly noticed that you cannot pass parameters to […]

Read More
08
Aug

The Value of Managed Services

Posted by | · · | Microsoft Intune · PowerShell · SCCM · Windows 10 | No Comments on The Value of Managed Services

Today we are going to tell you a little story and see if it rings true for your organization.  This is a story of a fictitious company named Contoso.  Although Contoso is the popular make believe company Microsoft has been so kind to share with us over the years, the parallels to your organization might be […]

Read More
27
Jun

Patch or Petya: There Are Only Two Choices When It Comes to Security

Posted by | · · · · | PowerShell · SCCM · Windows 10 | No Comments on Patch or Petya: There Are Only Two Choices When It Comes to Security

Well, here we go again.   Another massive ransomware attack is spreading around the globe as we speak, just a month after the WannaCry ransomware attack. Initial reports of businesses being impacted by the Petya malware came from Russia and Ukraine, but within hours the attack had gone global.   As John Carlin, chairman of [...]

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