I have attempted to install the PowerShell module PWPS_DAB using the command shown in the original post. The error message states missing expression after ',' Uninstall-Module appears to be invalid or incomplete. Any help would be appreciated. Thank you.
Not sure what you mean by "the original post". The installation method has changed since the very beginning. Did you follow the instructions in this post?
https://communities.bentley.com/products/projectwise/content_management/f/projectwise-powershell-extensions-forum/143840/update-we-have-changed-the-way-we-are-delivering-pwps_dab
Also Uninstall-Module won't work if you've never installed it before, you can skip that step.
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.
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:
if you are on a version of Windows before 10 you first need to do:
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.
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
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.