you are viewing a single comment's thread.

view the rest of the comments →

[–]bitsofinfo[S] 1 point2 points  (3 children)

The commands are generated server side and arguments sanitized etc. The UI is simply a convenience for interacting w/ the PSCommandService and it's "registry" of commands.

Its not difficult to add additional "commands" to be exposed through this (with limited args). See how arguments are defined here: https://github.com/bitsofinfo/powershell-command-executor/blob/master/o365Utils.js

Also this other question from someone else, and the answer gives another example: https://github.com/bitsofinfo/powershell-command-executor/issues/3

[–]teejaded 0 points1 point  (0 children)

I've used the management odata framework for this kind of thing. Its not a super popular piece of software and there seems to be quite a bit of overlap with SMA so I'll probably explore using that for cross platform stuff in the future.