This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

error when powershell connect to Orion

Hi! I need use Orion SDK to do an automatization in powershell. I already installed orion SDK and PowerOrion in powershell but when I run my script to connect with Orion fail.

the error is:

Connect-Swis : El término 'Connect-Swis' no se reconoce como nombre de un cmdlet, función, archivo de script o programa ejecutable.  Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que dicha ruta es correcta e inténtelo de  nuevo. En C:\Users\carballe\Desktop\Orion SDK\script\AgregaNodoCajero_v1.ps1: 14 Carácter: 9 + $swis = Connect-Swis -host $hostname -cred $creds +         ~~~~~~~~~~~~     + CategoryInfo          : ObjectNotFound: (Connect-Swis:String) [], CommandNotFoundException     + FullyQualifiedErrorId : CommandNotFoundException   Get-SwisData : El término 'Get-SwisData' no se reconoce como nombre de un cmdlet, función, archivo de script o programa ejecutable.  Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que dicha ruta es correcta e inténtelo de  nuevo. En C:\Users\carballe\Desktop\Orion SDK\script\AgregaNodoCajero_v1.ps1: 18 Carácter: 11 + $nodeIp = Get-SwisData $swis "SELECT IP_address FROM nodesdata" +           ~~~~~~~~~~~~     + CategoryInfo          : ObjectNotFound: (Get-SwisData:String) [], CommandNotFoundException     + FullyQualifiedErrorId : CommandNotFoundException