Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

Running PS script from SSIS script task VS running script from PS Command Line, security or context difference?

$
0
0

Hi,

We are trying to run a Poweshell Script that uses the OnTap PS Modules, from SSIS, when we do, an error is issued:

Error: The term 'Connect-NaController' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

But when we run the same script from the Powershell Command Line, then the script runs just fine.

So I'm wondering if the security context is different or we have to do something more explicitly in our call from SSIS?

Thanks!

 

 


Viewing all articles
Browse latest Browse all 8411

Trending Articles