Home Analyst Portal
Options

Find all Advanced Request Offerings

John_LongJohn_Long Customer Advanced IT Monkey ✭✭✭
Not sure if a similar post exists at present but will share anyways!

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

  • Options
    Joe_BurrowsJoe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭
    Very helpful, thanks @John_Long !
  • Options
    Jerry_VeldhuisJerry_Veldhuis Customer Advanced IT Monkey ✭✭✭
    Since we use the Cireson Decision Engine which causes the word 'Cireson' to appear in PresentationMappingTemplates in non-AROs I had to slightly adjust the match to  -like "*<Cireson>*"
Sign In or Register to comment.