Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Version 1.21.5.0 of PWPS_DAB just posted to the PowerShell Gallery
    • Sign In

    • Replies 10 replies
    • Subscribers 66 subscribers
    • Views 2416 views
    • Users 0 members are here

    Version 1.21.5.0 of PWPS_DAB just posted to the PowerShell Gallery

    Dave Brumbaugh
    Offline Dave Brumbaugh over 3 years ago
    We just posted version 1.21.5.0 of the #PWPS_DAB #PowerShell module for #ProjectWise to the PowerShell Gallery. To install, from a 64-bit Admin session of PowerShell v5 run: [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12, Uninstall-Module PWPS_DAB -AllVersions -Force, Install-Module PWPS_DAB. VERY IMPORTANT NOTE: This PowerShell Module is not covered under your SELECT Agreement and is not supported via your contractual support channels. Support is only available via the BE Communities site ( communities.bentley.com/.../projectwise-powershell-extensions-forum ).
    • Sign in to reply
    • Cancel
    • Jonathan Britten
      Offline Jonathan Britten Fri, Jun 19 2020 10:16 AM in reply to Kevin van Haaren

      Encountered a further problem when installing PWPS_DAB for the first time on a new installation. Install-Module PWPS_DAB returned error Import-PackageProvider failed. No match was found for provider name 'NuGet'  

      Any help would be appreciated.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Cancel
    • Kevin van Haaren
      Offline Kevin van Haaren Fri, Jun 19 2020 11:14 AM in reply to Jonathan Britten

      Make sure you are running at least PowerShell 5

      To purge off an existing install of pwps_dab, and then install the latest version on Windows 10 i did a Run as Administrator on Windows PowerShell then:

      • uninstall-module pwps_dab -AllVersions -Force
        • if the module is not already installed this will produce a "No match was found" error. You can ignore that.
      • install-module pwps_dab
        • First prompt is "Untrusted repository" => type Y to trust the PSGallery repository

      if you are on a version of Windows before 10 you first need to do:

      • [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Cancel
    • Kevin van Haaren
      Offline Kevin van Haaren Fri, Jun 19 2020 11:15 AM in reply to Kevin van Haaren

      if you still get the error about the Provider 'NuGet' you'll have to troubleshoot your powershell a bit more. That error makes me suspect you aren't running PowerShell 5.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Cancel
    • Mick Inkster
      Offline Mick Inkster Fri, Jun 19 2020 3:02 PM in reply to Jonathan Britten

      Hi Jonathan,

      I found had the same issues. Using the following command was the way I added NuGet.

      Register-PackageSource -Location https://www.nuget.org/api/v2 -Name NugetRep -ProviderName NuGet

      hth

      Mick

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Cancel
    • Jonathan Britten
      Offline Jonathan Britten Mon, Sep 7 2020 6:51 AM in reply to Mick Inkster

      I have now resolved the ProjectWise PowerShell module installation. This was resolved by updating my Active Directory group membership settings within our company domain. Software modules have been successfully downloaded.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Cancel
    <

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies