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

New Post: List all "Service Requests" (children) of a (parent) "Service Offering" or "Request Offering"

$
0
0
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 Offering (either)

[Example]
Get-SCSMObject -Class (Get-SCSMClass -Name System.WorkItem.ServiceRequest$) -Filter "ParentServiceOfferingGUID -eq 137f7673-8486-9260-8265-a808b99b7c8a" | Format-Table ID, Status

<returns only those service requests belonging to ServiceOffering (or Request Offering) with the GUID above>
Id Status

SR1410 Canceled
SR2592 Completed
SR2609 Completed

Thanks in advance to anyone who can help.

Viewing all articles
Browse latest Browse all 306

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>