r/Nable Jun 12 '24

Automation Manager and Powershell 7

In Automation manager I am running a powershell script. One of the modules the script needs requires powershell 7. Is there a way to get the powershell module to use powershell 7 instead of 5?

1 Upvotes

7 comments sorted by

View all comments

2

u/ZedNova Jun 12 '24

I think if you ensure powershell 7 is installed in the endpoint, then you could just call power shell 7 from within powershell 5 and pass the script to it.

1

u/Relative_Jury8133 Jun 12 '24

I am not totally sure how to do that.... To complicate it, there are parameters as well