Skip to content

Reference between SMLets and SCSM 2012 native cmdlets

Reference between SMLets and SCSM 2012 native cmdlets published on 5 Comments on Reference between SMLets and SCSM 2012 native cmdlets

As you all know (or will know after reading of this post )) ) the SCSM 2012 have a native cmdlets which has installed during setup process of SCSM console. Some of native SCSM2012 cmdlets use different from SMLets names of the cmdlets.

Continue reading Reference between SMLets and SCSM 2012 native cmdlets

How to rename item from sealed MP in SCSM

How to rename item from sealed MP in SCSM published on 3 Comments on How to rename item from sealed MP in SCSM

image

Some time you need to rename items in sealed management pack. For unsealed it’s can be done easily: export, change the value and import again, instead of sealed MPs, which we can’t change and reimport to SCSM. But management pack engine is pretty well then we talk about localization. Let’s see how to implement this.

Continue reading How to rename item from sealed MP in SCSM

Different between “Create Date” and “Time Added” fields

Different between “Create Date” and “Time Added” fields published on No Comments on Different between “Create Date” and “Time Added” fields

imageAlmost all objects created inside SCSM has a two similar fields: “Create Date” and “Time Added”. But in many case value of those fields can be very different. But why this happened and what value are stored at those fields?

Continue reading Different between “Create Date” and “Time Added” fields

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