Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Run powershell script in command rule with parameters

$
0
0

Hi All,

I need to run a power shell script with a "server name" parameter and i want to use command rule.

What do i need to enter in "command line"--> "Parameters" ? (when creating new command rule)

I know i need to start with-->   "-File "file path\filename.ps1" principal name" ?

Thanks!


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>