SDL PowerShell Toolkit

SDL is pleased to announce the availability of a beta version of the SDL PowerShell Toolkit.

The SDL PowerShell Toolkit is a set of modules using Windows PowerShell scripting technology and the Project Automation and Translation Provider APIs from the SDL Trados Studio Professional SDK. In a nutshell, the modules provide functions and sample code that you can re-use in your PowerShell scripts to automate SDL Trados Studio. They feature an initial set of code for use in typical Studio automation tasks such as creating a project, a translation memory or a package derived from a project. You can use these as a starting point for your own PowerShell-based efforts. It is assumed that the reader is familiar with Windows PowerShell as well as an initial understanding of the SDL Trados Studio SDK, in particular the project automation API.

Over time, we would like to see the development community develop further modules and helpful functions that we can share with each other.

Best regards, Ian

Ian Davies | Senior Product Manager | SDL | Language Technologies Division | +44 7826843819

Paul Filkin | RWS Group

________________________
Design your own training!

You've done the courses and still need to go a little further, or still not clear? 
Tell us what you need in our Community Solutions Hub

PowerShellToolkit.zip
Parents
  • Hi,
    I have a problem with this SDL PowerShell Toolkit and I need help.

    The situation is this:
    -> I have a computer with Linux operating system "Ubuntu".
    -> In this computer I have a project, which is created using "Ruby On Rails".
    -> I have a second remote computer with Windows operating system. This computer has "SDL Trados Studio 2014" with professional license, SDK and "SDL PowerShell Toolkit" with powershell script which will be executed.
    -> When I run project, automatically connects to remote computer via SSH using Ruby gem "net-ssh".
    -> Then run powershell script and I get this:
    New-Object : Exception calling ".ctor" with "2" argument(s): "License check failed, with exception: Sdl.ProjectAutomation.FileBased.LicensingException: A valid SDL Trados Studio Professional license is required to use the Project Automation API in a standalone application. at Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense()" At C:\Users\ltvanmk\powershell_sdl_trados_studio\powershell_toolkit\modules\ProjectHelper\ProjectHelper.psm1:95 char:22
    -> I checked "SDL Trados Studio 2014" license and everything ok.
Reply
  • Hi,
    I have a problem with this SDL PowerShell Toolkit and I need help.

    The situation is this:
    -> I have a computer with Linux operating system "Ubuntu".
    -> In this computer I have a project, which is created using "Ruby On Rails".
    -> I have a second remote computer with Windows operating system. This computer has "SDL Trados Studio 2014" with professional license, SDK and "SDL PowerShell Toolkit" with powershell script which will be executed.
    -> When I run project, automatically connects to remote computer via SSH using Ruby gem "net-ssh".
    -> Then run powershell script and I get this:
    New-Object : Exception calling ".ctor" with "2" argument(s): "License check failed, with exception: Sdl.ProjectAutomation.FileBased.LicensingException: A valid SDL Trados Studio Professional license is required to use the Project Automation API in a standalone application. at Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense()" At C:\Users\ltvanmk\powershell_sdl_trados_studio\powershell_toolkit\modules\ProjectHelper\ProjectHelper.psm1:95 char:22
    -> I checked "SDL Trados Studio 2014" license and everything ok.
Children