Find all Advanced Request Offerings
We switched to using the Advanced Request Offerings shortly after they were released but already had some RO's published. Our team needs to be aware which option to select when editing a normal RO vs. an ARO.
Using the SMLets, the below will iterate through all of the Request Offerings and look for the text "Cireson" within the PresentationMappingTemplate. Crude but effective until we can switch them all over to ARO.
$SMDefaultComputer = "serverName" $roList = Get-SCSMRequestOffering foreach ($ro in $roList){ # if ($ro.PresentationMappingTemplate -like "*Cireson*"){ write-host -ForegroundColor Green "$($ro.DisplayName) :: ARO" } else { write-host -ForegroundColor Yellow "$($ro.DisplayName) :: Non-ARO" } }
Comments