SAM Custom Script Template


I need to create a PowerShell custom script template with the command "get-clusternode"
unforchantly this command requires Admin elevation.

How can I get SW to understand it needs to run Admin Elevation in Powershell in order to run it.

tried to put this in the script:

powershell -Command "Start-Process PowerShell -Verb RunAs"

but it was useless.
SW support didn't know how to help here.
maybe someone from this community would have an answer?

P.S I'm an admin user, it is not related to permissions but only "run as administrator" when you open Powershell.