Using PowerShell to Find Cireson SCSM Application License Info

If you wanted to see info around what Cireson Apps your Product Key is licensed for and info around when they expire then you can run the following PowerShell query on the SCSM Management Server that is hosting the Cireson Portal.

Please remember to add in your Product Key in the first line of the query.

$ProductKey = "************************"

$SMDIR  = (Get-ItemProperty 'hklm:/software/microsoft/System Center/2010/Service Manager/Setup').InstallDirectory

import-module $SMDIR'\Powershell\System.Center.Service.Manager.psd1'

Add-Type -Path $SMDIR'\Cireson.Console.Licensing.Workflows.dll'

Add-Type -Path $SMDIR'\LicenseManagement.Client.dll'

$EMG = New-Object Microsoft.EnterpriseManagement.EnterpriseManagementGroup 'localhost'

$licensing = New-Object Cireson.Console.Licensing.Workflows.Classes.LicensingFunctions $ProductKey, $EMG

$licensing.LicencedApplications | ft ProductDisplayName, IsValid, Status, Expires

You will get this output returned showing you a list of SCSM Application that you are licensed for.

Powershell

You could then run the following PowerShell query to return additional info around each licensed application

psc2

$licensing.LicencedApplications | select *

Helpful Links:

Experience Teams Ticketing Today

Start your 14-day free trial of Tikit. No credit card required.