I wrote an extension library for StarWindX in C#, I think PowerShell can simply import the classes from a dll if not I will look into it.
https://github.com/Sekkmer/StarWindXExtLib
You can mount snapshots under LSFS Devices, and edit HA Device interfaces (snapshot for HA is not tested right now)
I made classes for device/target/file creation, containing almost all possible parameters.
Some parts of the library are not tested (I have another StarWindX project, I moved these classes from there and some parts wore differently implemented there) the testing part should have been finished in the next weeks.
Some parts do not work: Advanced HA creation (I currently working on this).
Feel free to use any part of my code however you like it.
The Latest Gartner® Magic Quadrant™Hyperconverged Infrastructure Software