Quantcast
Channel: SCSM PowerShell Cmdlets
Viewing all articles
Browse latest Browse all 306

New Post: SMLets in .Net application

$
0
0

I have used PowerShell from .Net Applications in the past. I am trying to use PowerShell to create Incidents in Service Manager from a home-grown application to track work being done. When I call my script, from my application I get an error that Get-SCSMRelationshipClass isn't a known cmdlet or script, etc. At the top of my script I have Import-Module SMLets, but that doesn't seem to help. I have even used the path to the .psm1 file to see if it will import, but it does not. I tried a different script to just import SMLets and then did a Get-Module SMLets and it didn't return anything. Has anyone had success with using the SMLets via a .Net application?

Thanks!!


Viewing all articles
Browse latest Browse all 306

Trending Articles