TIP: Keep your Azure Automation runbooks healthy across PowerShell module updates

Here’s a quick tip that may help you ensure you’re protect yourself from a problem that happens occasionally. Problem: I had a runbook that was broken when the PowerShell modules in the store were updated. Solution: What can you do to prevent this problem? One thing you can do to protect yourself against breaking changes in … Continue reading “TIP: Keep your Azure Automation runbooks healthy across PowerShell module updates”

Creating ConfigMgr Console Folders and Collections with PowerShell

Below for reference a quick PowerShell sample for creating a query-based device collection in System Center Configuration Manager (ConfigMgr), as well as a new folder for organizing collections in the ConfigMgr Admin console. The script then moves the new collection to the new folder. Additionally, there is demonstration of some of the options you can … Continue reading “Creating ConfigMgr Console Folders and Collections with PowerShell”

Creating ConfigMgr User Collections with PowerShell

Below for reference a quick PowerShell sample for creating a query-based user collection in System Center Configuration Manager (ConfigMgr), along with a demonstration of some of the options you can supply to control collection population and refresh behavior. You can download the up-to-date ConfigMgr PowerShell cmdlets at https://www.microsoft.com/en-us/download/details.aspx?id=46681. The ConfigMgr PowerShell cmdlet reference documentation is available at https://technet.microsoft.com/en-us/library/jj821831(v=sc.20).aspx. … Continue reading “Creating ConfigMgr User Collections with PowerShell”

Creating ConfigMgr Device Collections with PowerShell

Below for reference a quick PowerShell sample for creating a query-based device collection in System Center Configuration Manager (ConfigMgr), along with a demonstration of some of the options you can supply to control collection population and refresh behavior. You can download the up-to-date ConfigMgr PowerShell cmdlets at https://www.microsoft.com/en-us/download/details.aspx?id=46681. The ConfigMgr PowerShell cmdlet reference documentation is available at https://technet.microsoft.com/en-us/library/jj821831(v=sc.20).aspx. … Continue reading “Creating ConfigMgr Device Collections with PowerShell”

Optimized Group Maintenance Mode PowerShell for OpsMgr: 2012 R2 Edition

Below is the latest sample of optimized group maintenance mode for System Center Operations Manager (SCOM), which leverages the .ScheduleMaintenanceMode function, which allows for the inclusion of a request for recursion….the implementation of the “this object and contained objects”. This minimizes SDK calls and processing overhead for large groups. Syntax: GroupMaintMode -ScomServer “mmsscom01” -GroupDisplayName “SQL … Continue reading “Optimized Group Maintenance Mode PowerShell for OpsMgr: 2012 R2 Edition”

Cloning OpsMgr Notification Subs with PowerShell: 2012 R2 Edition

The following is the latest version of my script for cloning notification subscriptions in System Center Operations Manager 2012 R2. The critical components to copy, all of which are hanlded by this script, are: Group Filters Class Filters Criteria (severity, priority and other details…everything else basically) You’ll also need to copy: Notification Channel (this sample … Continue reading “Cloning OpsMgr Notification Subs with PowerShell: 2012 R2 Edition”

Launch an OMS Automation Runbook on a Hybrid Worker from Orchestrator

While the Operations Management Suite (OMS) and Azure Automation are the future of process automation, there are still many customers still using System Center Orchestrator (SCO). In fact, when polling audiences I have spoken to in the last six months, they are still the majority. For customers taking their first step into hybrid cloud automation, … Continue reading “Launch an OMS Automation Runbook on a Hybrid Worker from Orchestrator”

5 TIPS FOR MODERNIZING YOUR PROCESS AUTOMATION STRATEGY

Don’t get me wrong, I love System Center Orchestrator (as you will see here AND here), but it is important to know when it is time to move on. Well my friends, it’s time. Some months ago now, Microsoft publicly announced that their investment in new features Orchestrator had come to an end, and that a cloud-first … Continue reading “5 TIPS FOR MODERNIZING YOUR PROCESS AUTOMATION STRATEGY”

Free E-book: Inside the Microsoft Operations Management Suite

Tao (@MrTaoYang), Stan (@StanZhelyazkov), Anders (http://contoso.se)  and I have been working on a project for the last few weeks. We wanted to bring a learning resource for the MS Operations Management Suite to the community that is complete, comprehensive, concise…and free (as in beer). While we finish final editing passes over the next couple of weeks, we … Continue reading “Free E-book: Inside the Microsoft Operations Management Suite”