I have reverse-engineered the Sitecore PowerShell Extension and reassembled it into a SitecoreAI Marketplace app!
This PoC is essentially a blueprint app. On its own, it is a universally working example. Still, its real benefit comes from this app providing a ready-to-use boilerplate that can be reused to build a variety of specialized SitecoreAI Marketplace apps on top of the SPE approach.
The most awesome feature is that all of your Marketplace context values could be easily passed into a remotely executed PowerShell script as a script parameter: there is a convenient Script Parameters mapping with maramater token preview (so that you never miss the right value!)
Here's what it looks like:
To enable SPE with Remoting:
- From SitecoreAI Deploy, add
SPE_REMOTING_SECRET environmental CM secret, then re-deploy.
- Install a package, which will enable SPE with Remoting: SPE_with_Remoting.zip (3.93 kb)
- This package also adds a disabled sitecore\speremoting user with admin rights, which you must enable manually from User Manager
Once this setup is complete, the environment is fully prepared to use the app. The Marketplace app supports multitenancy; however, SPE Remoting must be enabled individually for every environment you intend to work with.