How to use Set-SCSMObjectProjection

Nov 10, 2010 at 2:39 PM

Hi

Could you please let me know how to use this cmdlet "Set-SCSMObjectProjection":

    how to update field "Assigned To:"  in Change Request

regards

Vladimir

 

Developer
Nov 10, 2010 at 10:17 PM

you can't yet do what you want with this cmdlet. The cmdlet only allows you to set the target object properties. You can take a look at the script Set-IncidentUser (in the script directory) for another way to approach this.

I'll add this to the list of feature requests

 

jim

Jan 30, 2016 at 2:47 AM
Edited Jan 30, 2016 at 2:50 AM
Hi

I have been trying to find out how to modify existed ObjectProjection. I guess Set-SCSMObjectProjection doesn't work with properties of related objects. May be the are some powershell or C# code solved my Task.

In particular I want to fill a deployedComputer's part for all windows computers. I can do this with manually creating deployedComputer and relationship, but I searching for better solution.

Sorry for my bad English :)

Thanks!