SMLets in Runbook
Trying to setup some runbooks that run a powershell script using some SMLets commands but I can't figure out how to get them working.
I've switched the registry key that runs the .net script into the latest version, in this case 5.1 but it can't find the command probably because its 32 bit?
Trying to do invoke-command doesn't work, I get "user does not have permission to do this" even when using SCSM admin accounts, I think because of double-hop but even if I pass credentials into a new session it still fails. I also added the powershell IP and tried to run it through there and get the same permission denied error. Not sure how this actually is running the script.
Has anyone got this to work?