New Post: Trying to get the parent CR of a review activity...
Try this to see if it works for you.$SCSMServer = "localhost" $RA = "RA12345" $ParentRequestRelationshipID = "2da498be-0485-b2b2-d520-6ebd1698e61b" $ReviewActivity = Get-SCSMObject -Class...
View ArticleNew Post: How to submit a Request Offering using SMLets
Is there a way to submit a request offering using smlets? I need to use PowerShell to submit a request offering just as if a user was submitting a request offering via the service manager self-service...
View ArticleCreated Issue: Get-SMProperty PowerShell 3 Incompatibility [10983]
When trying to run get-smproperty using Powershell 3, One will receive an error similar to the following:```add-member : Cannot add a member with the name "Class" because a member with that name...
View ArticleNew Post: How to use the smlets from IIS7.5 on it?
Due to the post using the Google language translation, I might be English meaning can not be read. I'm using the SCSM2012 SP1, but thought that can not be satisfied portal (SSP), to make the web portal...
View ArticleNew Post: How to use the smlets from IIS7.5 on it?
I solved this problem. I was able to run When you have changed as under the contents of test.ps1. echo "Conten-Type: text / html" echo "" echo "<html>" echo "<head>" echo "<title>...
View ArticleNew Post: trying to email users if more than one manual activity has been...
Hello - Currently when Service Manager has related items such as a manual activity the subscriptions I created can basically reply back whenever the first manual activity has been completed. If another...
View ArticleNew Post: Trying to get the parent CR of a review activity...
Hi Ray - Is the parentrequestrelationshipID something specific to your setup?
View ArticleNew Post: Trying to get the parent CR of a review activity...
No, this should be the same in your environment as its the same in my 3 environments and they are separate installs, not clones. Also, if you have nested a activity this wont work since it will return...
View ArticleNew Post: Can I schedule Remove-SCSMObject -Force?
I would like to schedule every mounth Remove-SCSMObject for remove all Incidents that have priority 6,8,9. This is possible with the cmdlet bilow: $irClass = Get-SCSMClass -Name...
View ArticleNew Post: Trying to get the parent CR of a review activity...
This is a block of code I use since I have many activities nested in parallel activities and I want to make sure the parent is actually the SR or CR.$SCSMServer = "localhost" $RA = "RA12345"...
View ArticleNew Post: Get Affected Item
I am going to apologize up front I am a complete noob when it comes to SM and especially SMLets. Can someone assist me in getting the affected item (in this case a single computer) out of a single...
View ArticleNew Post: Update the location of Build.ps1 in ReadMe.txt
The ReadMe.txt in SCSM PowerShell Cmdlets BETA 4 stated that the "Build.ps1" is in the current directory (which by default is C:\Program Files\Common Files\SMLets). However, the actual location of...
View ArticleNew Post: How to submit a Request Offering using SMLets
This is to Rob Hydell who was asking if I ever found a resolution. I found this blog a while back which got me...
View ArticleNew Post: List all "Service Requests" (children) of a (parent) "Service...
I am sure this is a stupid question with a simple answer but.... I can list ALL "Service Requests" but how do I only show those service requests that are part of a certain Service Offering or Request...
View ArticleNew Post: How to submit a Request Offering using SMLets
Thanks Jason for the quick response !
View ArticleNew Post: List all "Service Requests" (children) of a (parent) "Service...
I was actually able to answer this myself. Hopefully someone will find this useful. $RequestOffering = (Get-SCSMObject -Class (Get-SCSMClass -Name System.RequestOffering$) -Filter "DisplayName -eq My...
View ArticleEdited Issue: Set-SCSMobject unable to set datetime field [8810]
Hi, I wanted to set a dateTime value into the TargetResolutionTime of an incident. This fails always with an error message (see below).I use the SMLets Beta 3 and SCSM2010 SP1 CU2. Since I'm able to...
View ArticleNew Post: Changing an incidents title through PowerShell
I'm working on a script to create and resolve incident quickly, creating and resolving incidents can be a slow process on older systems. I still need to figure out how to chance an incidents Title, to...
View ArticleCreated Unassigned: All Unassigned Service Requests script needed [11252]
Hello, I would like to write a script to pull all the unassigned service requests that were created 12hrs prior to current date. I need to be able to filter on specific support groups. It appears...
View Article