A script speaks a thousand words:
1 2 3 4 5 6 7 | $IRClass = Get-SCSMClass system.workitem.incident$ # get all IRs where the classification is not set Get-SCSMObject -Class $IRClass -Filter "Classification -ISNULL" # if we need to filter on a property from a class extension, specify that exact class $MyClassExt = Get-SCSMClass incident.extension$ Get-SCSMObject -Class $MClassExt -Filter "CustomerProperty -ISNULL" |
Ingen kommentarer:
Send en kommentar
Bemærk! Kun medlemmer af denne blog kan sende kommentarer.