Archives

 

Automating SQL operations with Invoke-Sqlcmd – challenges and solutions

I’ve been working on some automation tasks with SMA 2016 lately, which involved quite heavy data transactions to a SQL database in the backend. Doing this, I have faced some really interesting challenges that I would like to share now with you and of course their respective solutions/workarounds. Reading and writing data to a SQL […]

Using Optional Parameters in Service Management Automation (SMA) runbooks

In this post, I would like to share an interesting observation I have made when working with optional parameters in SMA runbooks. The requirement is pretty basic – pass an optional [datetime] parameter to an SMA runbook and trigger an action, depending on the whether a value has been passed or not. The error message […]

No more Supersedence in a App-V package/ SCCM 2012 constellation

Often we distribute App-V Packages in a SCCM 2012 environment, without having an App-V Server. You should be aware though that there are some limitations in regards to this approach. For example, the update path of the applications is not taken into consideration, compared to an App-V Server “Full Infrastructure” environment. If you want to […]

The mysterious case of the queued Service Management Automation (SMA) runbook jobs (a bit more on Sandbox process separation)

It is weekend again and I have decided to take some time and share some interesting findings in regards to Service Management Automation (SMA) 2012 R2 – an issue I’ve experienced and its possible workarounds. The Problem Random SMA runbook jobs were intermittently getting stuck and remained in a “Queued” job status. The only thing, […]

Forcing a SCOM discovery with PowerShell (the easy way)

While working on customer’s site I noticed on couple of occasions that triggering a specific discovery in SCOM costs too much time to the guys from the Operations Team. What they were basically doing is following a procedure, found in a blog post, describing how to manually trigger a SCOM discovery: SCOM 2012 – Manually […]

Update Rollup 7 (UR7) for SCOM 2012R2 – Now it is possible to see the version number directly in the console

Original Version in German: Update Rollup 7 (UR7) für SCOM 2012 R2 – Die Produktversion in der Konsole ist da! https://blog.pohn.ch/update-rollup-7-ur7-fuer-scom-2012-r2-die-produktversion-in-der-konsole-ist-da/   How to check whether a SCOM Update Rollup (UR) has been installed properly? How to obtain the current product version of SCOM 2012 R2? Until UR6, you had to check various library files […]

SCCM Software Update Funktionalität im Vergleich zu Standolane WSUS

Mittels der SCCM Software Update Funktion ist es möglich Clients zentral mit Microsoft Updates aber auch Third Party Updates zu versorgen. Für Third Party Updates benötigt man zusätzlich den System Center Update Publisher damit man diese mit SCCM verteilen kann. Viele Unternehmen setzen immer noch lediglich WSUS ein, obwohl sie schon SCCM im Einsatz haben. […]
Posted in SCCM
No Comment

Automating the SCOM 2012 R2 agent deletion using PowerShell

In my last project I was given the task to automate the deletion of SCOM agents (both UNIX/Linux and Windows SCOM agents) using a PowerShell script, which then would be executed as part of the deprovisioning process of a specific virtual machine. This was necessary, because after decommissioning virtual machines their associated monitored objects remained […]

Most common System Center 2012 Operations Manager issues and their respective solutions

During my work on different projects in the System Center Operations Manager area I have encountered different issues and also pretty strange behavior on a couple of occasions. In my experience every problem has its cause and therefore in almost all cases – a respective solution. Finding it is sometimes easy and effortless, but on […]

„Distributed Application“ in SCOM 2012 R2 – ein hilfreicher Tipp!

Mit Hilfe von „Distributed Applications“ (DA) können verschiedene Klassen und / oder Objekte aus unterschiedlichen Management Packs zusammengefügt und grafisch als eine zusammenhängende Struktur mit Abhängigkeiten dargestellt werden. Die DA ist hierarchisch aufgebaut. Zuoberst steht das System selbst, welches man abbilden möchte. Das kann z.B. eine Webfarm, ein Datencenter oder eine Applikation bestehend aus mehreren […]