Skip to content

Create custom UserControl for SCSM 2010 SP1

Create custom UserControl for SCSM 2010 SP1 published on 29 Comments on Create custom UserControl for SCSM 2010 SP1

image

Intro

I’ve already saw many questions on forums about extending SCSM with new forms and\or custom user’s controls. So I wrote this article to show how we can extend SCSM with user control only. As for me, I prefer to use custom control without rewriting entire form because User Control provide excellent ability to change form’s logic and visibility, but they require much less work unlike the creation of new form and replace existing one. Another reason – new version of SCSM, which expected at Q4 2011 – Q1 2012. It’s a very small chance what if you rewrote entire form it will be work with SCSM 2012.

DISCLAIMER. Most of provided solutions are not supported by Microsoft. All information provided AS IS, without any warranties.

Continue reading Create custom UserControl for SCSM 2010 SP1

Install SMLets on server without SCSM console

Install SMLets on server without SCSM console published on 5 Comments on Install SMLets on server without SCSM console

SMLets module required to be installed on computer with SCSM console, also you must copy  Microsoft.EnterpriseManagement.Core.dll from SCSM server. But this requirement can be avoided by several simple steps. And this post describe how to do that.

Installing SMLets on separated server can be helpful on several scenarios, like Opalis\Orchestrator server or some server which must communicate with SCSM using PowerShell.

Continue reading Install SMLets on server without SCSM console

Run SMLets’s cmdlets from remote server

Run SMLets’s cmdlets from remote server published on 1 Comment on Run SMLets’s cmdlets from remote server

powershell[1]

Many cmlets from SMLets module has the –ServerName or –SCSMSession parameters. The first of them never worked (rise the error), with second you must use session’s variable each time then execute the command and not all of the cmdlets support this pararmeter. But the SMLets has the solution to run all cmdlets again server which are differ from localhost.

To do that you must set the $smdefaultcomputer variable before import SMLets module. So your script must be something like that:

$smdefaultcomputer = "SCSMSERVER"
import-module SMLets
# Put here any SCSM's cmdlet