1 2 Previous Next 15 Replies Latest reply on Feb 26, 2015 3:12 PM by Bill Robinson

    Launch PowerShell Script with nsh script

    Ben 10

      Hello Everyone,


      I'm writing an nsh script type 2 in Bladelogic.


      I would like to launch a powershell script on a target server.


      Nothing that I try is working.


      Here's the command that I try:


      nexec nameserver.company.com powershell //nologo D:\\Scripts\\maint\\scriptname.ps1 $serverName


      $serverName is a parameter that specify the name of the server.


      Someone know what command working for launch the powershell?



        1 2 Previous Next