New Post: issue using -filter switch on get-scsmobject
BAH!!! I fixed it... $MAobj = Get-SCSMObject -Class $MAClass -Filter "ID -eq $MAID" [string]$CRID = (Get-SCSMRelationshipObject -ByTarget $MAobj).sourceobject.name $CRobj = Get-SCSMObject -Class...
View ArticleCommented Issue: Unable to import module after upgrading to SCSM 2012 SP1...
After upgrading to SCSM 2012 SP1, the following exception is thrown when attempting to import the SMlets module. I suspect they will need a recompile against the the SP1 bits.Command execution stopped...
View ArticleClosed Issue: Trouble with object types returned using SMlets [10670]
I am trying to use set-scsmobjecttemplate$CMN11 = Get-SCSMObjectTemplate -DisplayName "CMN11 - Request for Results Notification"$CRClassProjection = get-SCSMTypeProjection...
View ArticleCommented Issue: Incident Title is not being set property in New-SCSMIncident...
if you create a new incident using New-SCSMIncident the title is not searchable when the incident is created. Â The work around is to manually go in to the ticket and click OK. At that point the ticket...
View ArticleNew Post: smlets error: "The requested name is valid, but no data of the...
Hi, We are facing this error in our preproduction environnement (SCSM 2010 SP1, smlets Béta4). Everything is working fine on the production environnement, which is the same version for all components....
View ArticleNew Post: smlets error: "The requested name is valid, but no data of the...
Is it possible that you've created some new classes? Or are trying to use the wrong version of the cmdlets against the service? it's hard to tell from this message, but you should be able to get more...
View ArticleNew Post: smlets error: "The requested name is valid, but no data of the...
Thanks for your hint. To answer your questions, we created some new custom classes, but not recently. The smlets has worked fine I think for a while on this environnement, or at least, they work on the...
View ArticleNew Post: smlets error: "The requested name is valid, but no data of the...
I'm out of ideas, sorry. I left the Service Manager team about 14 months ago, so I'm also out of touch with changes. I would start looking at whether you've patched the system (perhaps there's a new...
View ArticleNew Post: smlets error: "The requested name is valid, but no data of the...
Hi, When I create an EntrepriseManagementGroup, it works : $EMG = new-object Microsoft.EnterpriseManagement.EnterpriseManagementGroup <computername> $EMG.EntityTypes.GetClasses() --> get the...
View ArticleNew Post: smlets error: "The requested name is valid, but no data of the...
It may be that you have installed an SM update which has new libraries. This is the reason that the SMLets package has the sources, which you should rebuild and use the rebuilt binaries
View ArticleNew Post: smlets error: "The requested name is valid, but no data of the...
I did rebuild already, just before posting, because smlets seems to be compiled for RTM version and we installed an update. This update was long time ago. Anyway : I found the problem (or at least a...
View ArticleNew Post: Import-Module SmLets Error
So i installed the SMLets.SP1.X86 for my SCSM 2010 SP1, when i open my windows powershell prompt and type "Import-Module SmLets" i get;"ImportModule : Cannot load Windows Powershell ..... Unable to...
View ArticleNew Post: Running SMlets without being in the main server of SCSM 2010?
Is there a way to "import-module smlets" without being on the main server of SCSM 2010. I'm Trying to script for my company, but the version of SCSM 2010 installed on my computer is slightly different...
View ArticleNew Post: What are the values available for the -impact, -urgency and...
What are the values available for the -impact, -urgency and -classification ? I know for impact and urgency there is low medium and high, is there a way we can add other fields ... ?
View ArticleNew Post: New-SCSMIncident and affected user
How do you know what the ID of the incident you created, using new-scsmincident ?
View ArticleNew Post: SCSM SMLets Assinged to Field
I wrestled with this for a while too, managed in the end and have finally come back to the discussion hoping this helps someone i believe the big difference of it working or not working is where you...
View ArticleNew Post: Adding comments to SRs
Hi Jim, I'm looking into a way of adding a comment for a Service Request through PowerShell... and getting the membership error. I've reviewed the example that Travis posted regarding creating an...
View ArticleNew Post: Adding comments to SRs
I've been out of the SM team for about 16 months, so I'm totally out of the loop here. I'm going off of some pretty old memories, but you should be able to create a new instance of a comment and then...
View ArticleNew Post: Adding comments to SRs
Thanks, Jim! You gave me some hints... Sorry to hear you're out of the SM team... :( I'll share my findings with the rest in case you're looking for this:function Add-SRComment { param (...
View ArticleNew Post: Adding comments to SRs
from what I can remember :) that looks good. I am a little surprised by the need to create a new projection rather than just create a new relationship
View Article