This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error while setting QServiceConnection while creating share

While executing a script i am facing below error. The term 'Set-QServiceConnection' 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.

How it can be resolved?

Top Replies

  • Thanks for your valuable inputs!

    I have QAM.Client.Powershell.dll at this path: C:\Program Files\One Identity\One Identity Manager New\JobServer\QAM.Client.PowerShell.dll

    Using this path i am able to import module and execute set-qserviceconnection command in Powershell.

    In order to perform the same through script(using job chain) i changed the default path to the above existing path as per my architecture.(changed script parameter in Designer)

    But after that also, i am getting same error.

    Is it wrong to update the default path in script(job chain)? If yes then is it correct way to copy the .dll file manually to this path:C:\Program Files\One Identity\One Identity Manager

    Kindly suggest.

     

  • Thanks for your guidance.The issue is fixed and i am able to execute the job chain.