API endpoint for Ws-federation customized command

when configuring Office-365, it is possible to select manual ws federation vi powershell script.
then when you press the button to view setup instruction. there is a page that gives the instructions and inside it - the customized command to run in powershell.
how can i get this command via REST api and not via the UI?


@chenpel Are you following any docs? Is there a link?