New Post: change createdate of incident
All the matter in the prescribed format to the OS (Server 2008 R2) was a Russian, I set the format English (U.S.) and everything is OK
View ArticleNew Post: Powershell system.reviewer
Hi Jim,I'm having issues while trying to add a new System.ReviewActivityHasReviewer relationship, even with a brand new RA: PS C:\> New-SCSMRelationshipObject -Relationship...
View ArticleNew Post: Powershell Set-SCSMObject decimal value issue
Dear discussion participants,i got an issue updating decimal values with smlets beta 4 - Set-scsmobjectfollowing error is raised:VERBOSE: Want to set Cost(decimal) to 56454.58 VERBOSE: Could not find...
View ArticleNew Post: Powershell Set-SCSMObject decimal value issue
Found that is not supported in public void AssignNewValue(ManagementPackProperty p, EnterpriseManagementSimpleObject so,object newValue)default: WriteVerbose("Could not find type...
View ArticleNew Post: New-SCSMRelationshipObject issue
Solution: You have to use -NoCommit flag when creating the activity (just put it right at the end of the creation string). It will be commited on relationship object creation time and the script will...
View ArticleNew Post: Trying to get the parent CR of a review activity...
Not having much luck with this one, any help much appreciated! $RA_ID = "RA612"$RAClass = get-SCSMClass -name System.WorkItem.Activity.ReviewActivity$$ParentCR = Get-SCSMRelationshipObject -Target...
View ArticleCreated 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: Trouble with object types returned using SMlets [10670]
I am trying to use set-scsmobjecttemplate<br><br>$CMN11 = Get-SCSMObjectTemplate -DisplayName "CMN11 - Request for Results Notification"<br>$CRClassProjection =...
View ArticleCreated Issue: System.Exception: The specified snap-in 'SMlets' failed to...
System.Exception: The specified snap-in 'SMlets' failed to load with below exception System.Management.Automation.PSArgumentException: No snap-ins have been registered for Windows PowerShell version...
View ArticleCommented Issue: System.Exception: The specified snap-in 'SMlets' failed to...
System.Exception: The specified snap-in 'SMlets' failed to load with below exception System.Management.Automation.PSArgumentException: No snap-ins have been registered for Windows PowerShell version...
View ArticleCreated Issue: Unable to import module after upgrading to SCSM 2012 SP1 [10764]
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 ArticleNew Post: Using New-SCSMIncident to add support group (nested) e.g. ABC\1LS
With very little powershell knowledge I managed to bodge a little app together that created, resolved and closed incidents for my service desk staff.They basically put an end user name in and click on...
View ArticleNew Post: Using New-SCSMIncident to add support group (nested) e.g. ABC\1LS
Have you tried getting the child support group first? It would look something like this (note that example is for incidents):$supportgroup = get-scsmchildenumeration -enumeration (get-scsmenumeration...
View ArticleNew Post: Using SMlets for classes other than the standard commands
Are you looking for information on how to update an incident using get-scsmobject, or what is the goal for using the get-scsmobject cmdlet?To get the class, you'll want to run the...
View ArticleCreated Issue: -UserComment switch for Set-SCSMIncident is not documented...
-UserComment switch for Set-SCSMIncident (original work item 7118) is not document in usage syntax. Please add it to usage syntax so it is easily discoverable
View ArticleNew Post: Using New-SCSMIncident to add support group (nested) e.g. ABC\1LS
The first option worked a treat, thanks very much
View ArticleNew Post: Trying to remove "Pending deletion" items cause a lot of (yellow)...
Greetings,I currently have around 347 items stored in the "deleted items" view, in the administration pane. When using the below PowerShell script, which in turn uses SMLets commands, nothing...
View ArticleNew Post: Trying to remove "Pending deletion" items cause a lot of (yellow)...
I'm not sure about the set-scsmobject cmdlet you are using, however when we want to remove an object for immediate purging, we use remove-scsmobject.As far as being able to populate your...
View ArticleNew Post: issue using -filter switch on get-scsmobject
Having trouble with this bit of code... the -filter is not working as I would expect. $MAID is set from the authoring tool Everything works up to the last line.Gets the MAobj $MAobj = Get-SCSMObject...
View ArticleNew Post: issue using -filter switch on get-scsmobject
Additionally, I have removed the extra Queue, and simplified the code, and still have the same issue... $MAobj = Get-SCSMObject -Class $MAClass -Filter "ID -eq $MAID" [string]$CRDisplayname =...
View Article