• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Detect Allegro Version from PowerShell

Stats

  • Replies 4
  • Subscribers 161
  • Views 13973
  • Members are here 0
More Content

Detect Allegro Version from PowerShell

Quist
Quist over 5 years ago

From a PowerShell script, Is it possible to detect if Allegro/OrCAD is installed on the computer and in that case which version and which hotfix?

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    Some allegro utilities will print the version & hotfix information, so try running the command 'dbdoctor -version' & capturing the output, below are the info shown in 16.6, 17.2 & 17.4 on my laptop:

    Tool:   dbdoctor        -2015-unreleased

    Tool:   dbdoctor        17.2-S062

    Tool:   dbdoctor        17.4-S005

    FYI - wouldn't it be useful if this worked with the primary tools like allegro? ( it doesn't :( )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    Some allegro utilities will print the version & hotfix information, so try running the command 'dbdoctor -version' & capturing the output, below are the info shown in 16.6, 17.2 & 17.4 on my laptop:

    Tool:   dbdoctor        -2015-unreleased

    Tool:   dbdoctor        17.2-S062

    Tool:   dbdoctor        17.4-S005

    FYI - wouldn't it be useful if this worked with the primary tools like allegro? ( it doesn't :( )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Quist
    Quist over 5 years ago in reply to DavidJHutchins

    Thanks.

    dbdoctor is not a registered command on my computer? Do I need to add a path?

    I guess that one way would be to try to read things from the registry but it feels like it will be a bit dodgy since the program can be installed for local user or for all users etc.

    And what if you uninstall the program, will it clean all registry entries or can you get a false hit?...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information