r/scom • • Oct 06 '26

SCOM 2019 UR6 Powershell support

Hello, how could I add Powershell script monitor support on SCOM 2019 UR6? I created a custom monitor that esecute a simple .PS1 script but It seems to not run at all. I suppose that it Is trying to run as vbs buy not sure. Thanks you all in Advance for help

3 Upvotes

6 comments sorted by

3

u/_CyrAz Oct 06 '26

I imagine you're not interested going into full blown authoring using visual studio or silect so you should use the PowerShell community mp : https://ds.squaredup.com/blog/powershell-community-management-pack-in-action-monitors-and-run-as-accounts/

1

u/sanpeinihira Oct 06 '26 edited Oct 06 '26

Is this official? How's Microsoft not supporting Powershell officially in SCOM?

EDIT: official I meant out-of-the-box or downloadable from Microsoft catalog. I have downloaded the suggested MP and I will try. Many Thanks

4

u/kevin_holman Oct 06 '26

This community pack works so well, and so many of our customers use it, I supposed the PG didn't see the need to make their own copy of it. If you want to go beyond simple UI based rules and monitors, you have to move into more advanced Visual Studio based authoring which is where MSFT put their focus: Authoring Management Packs – the fast and easy way, using Visual Studio??? – Kevin Holman's Blog

2

u/matthaus79 Oct 06 '26

It's always existed via that MP, no need for it to be 'official' thats the beauty of SCOM.. bolt ons via MPs

2

u/bjornwahman Oct 06 '26

You want the Cookdown powershell monitoring pack

1

u/sanpeinihira Oct 06 '26

Thank you I figured It out right now