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

Closed Issue: Get-SCSMRelationshipObject ignore -Relationship parameter then QueryBy.Relationship used with filter [9116]

$
0
0
Get-SCSMRelationshipObject ignore filter then QueryBy.Relationship used.
Example:
PS C:\Users\gricenko.eng> import-module SMLets
PS C:\Users\gricenko.eng> $rel = Get-SCSMRelationshipClass -Name "System.UserManagesUser"
PS C:\Users\gricenko.eng> Get-SCSMRelationshipObject -Relationship $rel -verbose
VERBOSE: Retrieving Relationship Objects. QueryBy is:Relationship
VERBOSE: Relationship via r: 4a807c65-6a1f-15b2-bdf3-e967e58c254a. Count = 7
VERBOSE: ID: 901a128e-19e5-6e90-a2e8-1cab3b89e3bb
VERBOSE: ID: 349457f9-8228-6938-fc69-298d757f3db9
VERBOSE: ID: edf86c8d-fa6d-df17-6ba4-39d726b379d6
VERBOSE: ID: 91141b3b-a279-5d7b-4a22-4270c806364c
VERBOSE: ID: 18b7b34b-de1a-1548-d72b-497d7f32739d
VERBOSE: ID: 88dd2378-191b-4873-a2a4-79e45d016387
VERBOSE: ID: 2a2087c8-6c83-dd79-60e9-fce0a1f07ead

PS C:\Users\gricenko.eng> Get-SCSMRelationshipObject $rel -Filter "SourceObjectName = 'SYSCENTER.gricenko'" -verbose
VERBOSE: Retrieving Relationship Objects. QueryBy is:Relationship
VERBOSE: Using Filter: SourceObjectName = 'SYSCENTER.gricenko'
VERBOSE: After property name substitution: SourceObjectName = 'SYSCENTER.gricenko'
VERBOSE: Converted filter is: SourceObjectName = 'SYSCENTER.gricenko'
VERBOSE: Relationship with criteria
VERBOSE: ID: abdc9777-468f-2d63-6de1-07edfd94ffa1
VERBOSE: ID: 5ecd152a-5b05-5f6c-4337-09215eaaedbb
VERBOSE: ID: 89bc5c95-6db9-9f1f-8142-0af552fb418d
VERBOSE: ID: f340daef-4d57-15b8-cd02-0b61e91e7ed7
VERBOSE: ID: e97823c5-b2ca-59fc-beab-0cef7c197727
VERBOSE: ID: 06a53af5-3f55-9294-3b59-0d1a28e3cfd0
VERBOSE: ID: 58638ed9-a21e-6eb4-a4fa-0e71bc34659b
VERBOSE: ID: bcbd195b-56a5-e522-d82d-0e9addf11612
VERBOSE: ID: 41a37a00-ec05-306e-fa8f-0ea95f504b52
VERBOSE: ID: 775fe94e-eb3c-ae07-ebb3-102d0a8e28ff
VERBOSE: ID: a118472c-3464-b09b-5869-10a7af81a919
VERBOSE: ID: 82c05367-c774-031b-16be-112881a61e50
VERBOSE: ID: 4d8873a5-f8b6-b5cd-5265-13842a19864f
VERBOSE: ID: a3328916-5d29-ac7f-989b-13a2ad5e469f
VERBOSE: ID: c73667f4-bfd9-84b1-ff99-164b2375685c
VERBOSE: ID: 2a697756-a748-5c4b-0555-1a4397cddc00
VERBOSE: ID: 901a128e-19e5-6e90-a2e8-1cab3b89e3bb
VERBOSE: ID: 3d054009-ecd6-8887-7c71-1e2f53e3ec6a
VERBOSE: ID: 163777b9-45ee-afb0-914b-1e73a865d72a
VERBOSE: ID: bd842434-e137-26c5-baec-20a60f261856
VERBOSE: ID: b727a27d-887a-37f9-d993-21f721c14d07
VERBOSE: ID: 95101748-25a2-2be9-93c2-230e3850ce21
VERBOSE: ID: 54f9dd3b-d95f-6c18-97d6-245c9c4cd65d
VERBOSE: ID: 5982b63d-b208-50d3-1bd6-26f16276ae05
VERBOSE: ID: e364cae3-6d60-34cd-f89e-2808e5d2bd38
VERBOSE: ID: 4c266270-ca10-dc45-42e4-287a9d59603c
VERBOSE: ID: 61103b53-64ef-f8e8-72ef-29e0e8800801
VERBOSE: ID: bd54602b-081c-c0af-0390-2cb7fa57e376
VERBOSE: ID: d6dd23a6-87ec-3494-cf98-2cf42942d9c6
VERBOSE: ID: 64039886-c32f-4c1b-ecf8-303070b17d0f
VERBOSE: ID: c1541a00-ccc3-7c69-15d5-305f51dba1be
VERBOSE: ID: 8fd09bc2-40c4-b395-f661-30ec1618a15c
VERBOSE: ID: e67bd3f6-5e88-e696-a9c4-32ab5b8eeb2f
VERBOSE: ID: edf86c8d-fa6d-df17-6ba4-39d726b379d6
VERBOSE: ID: cb1f3485-5aa0-f978-34be-3e7ba6dee19e
VERBOSE: ID: 3433fdef-b895-3f45-d0c2-3efd4ce462e4
VERBOSE: ID: 2a918149-4375-e815-960c-3fd35c616cab
VERBOSE: ID: dd46ba42-f98d-7ca3-a98d-40edce1d71fc
VERBOSE: ID: 07a6dba4-9385-c8d0-32e8-41fbc19d1ca6
VERBOSE: ID: 46cb30f1-62fc-206d-868b-44078b1b6cbb
VERBOSE: ID: ae0df825-a58d-5636-69c0-45a69771e815
VERBOSE: ID: e9100b0b-2030-6b04-2aed-45fa390065de
VERBOSE: ID: f8c009b4-59f1-e852-991b-46a424b99823
VERBOSE: ID: 7b030266-2d4f-dbdf-17ba-4947cfe427fd
VERBOSE: ID: dc0d2bdc-5b1c-2942-13fe-4ceaf3ed3068
VERBOSE: ID: 93c0160c-8d36-37f5-9606-4cf2d369ba81
VERBOSE: ID: ba4e7a14-af9b-8a1e-a3db-50255d561fbe
VERBOSE: ID: 3c69cd34-2051-f56e-1888-579b06b16c7f
VERBOSE: ID: 538e5e04-5d36-5742-4a66-57f0792bdf09
VERBOSE: ID: a477e020-a09b-b6dc-1ac7-593fda5990d3
VERBOSE: ID: 0a4953cd-4478-528f-028f-5972248b4cc1
VERBOSE: ID: 82e38ac8-5422-f653-1db3-598a691c571a
VERBOSE: ID: 78280ab5-be50-5cf7-4c70-5b14ea49b984
Comments:


Viewing all articles
Browse latest Browse all 306

Trending Articles



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