System Center Orchestrator 2022 Run .Net Script activity - script editor (details section)

Bojan Zivkovic 581 Reputation points
2025-04-28T17:38:49.6466667+00:00

Hi, I have to use System Center Orchestrator Run .Net Script activity (PowerShell code inside) in all my runbooks to leverage Just Enough Administration. However, Details section inside this activity is very awkward to work with - no IntelliSense, no way to format code ... Is there any tool for System Center Orchestrator which can help me out here (coming from PowerShell world with VS Code, PowerShell Studio, ... at my disposal, this is a big step back) - of course, I do not think of using VS Code or PowerShell Studio to write a code and just copy it to Details section.

Thank you in advance.

System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
263 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 120.6K Reputation points MVP
    2025-04-28T18:19:28.8266667+00:00

    Hi @Bojan Zivkovic ,

    after working many years with System Center Orchestrator and .Net Script activities:

    using VS Code or PowerShell Studio to write a code and just copy it to Details section

    That's the way to do it. As far as I know there is no other option to get the nice and fancy things like "IntelliSense, format code, ....".

    And I doubt there are plans in the near future to add these kind of features in SCORCH Runbook Designer.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bojan Zivkovic 581 Reputation points
    2025-04-28T18:30:43.57+00:00

    Thank you, Andreas, sadly, I expected answer like yours. I have also heard that SCO days are numbered - I prefer pure PS coding with Web Front End application calling the code/passing input parameters but here I was told to use SCO instead.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.