Skip to content

Latest commit

 

History

History

PWDM-Powershell-Script

PWDM Powershell Script

Table of Contents

About

Contains 3 different powershell script for exporting of PWDM data.

  1. PWDM_Single_Export.ps1 - Exports a single project's PWDM Data
  2. PWDM_Multi_Export.ps1 - Exports multiple project's PWDM Data
  3. PWDM_Multi_Export_Metadata.ps1 - Exports multiple project's PWDM Metadata only

Getting Started

  1. Edit Line 11 in the PWDM_Multi_Export.ps1 | PWDM_Multi_Export_Metadata.ps1 or Line 8 in the PWDM_Single_Export.ps1 script to include the full path of a folder that which you want to save the exported data to.

  2. FOR PWDM_Multi_Export.ps1 | PWDM_Multi_Export_Metadata.ps1:

    • Edit the 'project_ids.txt' file to include the Project IDs you want to export:

    image

    • Project ID can be found in the URL by going to connect.bentley.com and entering the particular project:

    image

  3. FOR PWDM_Single_Export.ps1:

    • Edit Line 6 in the script to include the Project ID of the single project you want to export.

Usage

Open Powershell in Administrator mode, then cd to the folder containing the script and run the script you need or you can provide the full path to the script in the commandline.