Hello WSOne mates!
Few days ago I was asking the same question to WSOne support but I didn't receive too much help.
However I have some links you may like: https://code.vmware.com/samples?categories=Sample&tags=Product%20Provisioning
And the most wanted for me is this, where I finally find an explanation about how WSOne understand the powershell scripts depending if they were launched as Admin, System or User.
I will appreciate any other samples you can share.