So I have been having an issue executing a script within a remote session. I’ve posted this on the other channel but can’t get it working. So thinking it might not be possible. So im hoping i can find a work around by use DSC.
I have a ps1 that triggers a SQL restore, i want to execute this script via the script resource in DSC, but i stuggling to understand the get-script,test-script set-script