Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Civil File Manager using Powershell
    • Sign In

    • State Not Answered
    • Replies 0 replies
    • Subscribers 65 subscribers
    • Views 191 views
    • Users 0 members are here
    • ProjectWise
    • pwps_dab
    • ProjectWise PowerShell Modules

    Civil File Manager using Powershell

    Gene Heatwole
    Offline Gene Heatwole over 1 year ago

    Can you run Civil File Manager thru Powershell for ProjectWise folders?

    It works great for paths which are on the local computer, but not ProjectWise. ($FolderName)

    (I can manually use CivilFileManager, but want to automate and simplify the process for my users)

    I have this as an example, but it doesn't find the PW path?

    <#==========================================+

    |  Sign in to the ProjectWise Datasource.  |

    +==========================================#>

    # Prompt to select and to sign in to a Datasource.

    $Result = New-PWLogin -BentleyIMS

    # Create ProjectWise Document Paths array.

    $DocumentPaths = @(

    ("CONNECT_Projects\Worksets\FDOT\FDOT-Training\FDOT CONNECT Training\300_CADD\22049555201_CE\Survey")

    )

    $FileName = "C:\pwworkingdir\metric-pw.bentley.com_metric-pw-01\gene.heatwole@metriceng.com\dms17549\SURVRD01.dgn"

    $FolderName = "C:\pwworkingdir\metric-pw.bentley.com_metric-pw-01\gene.heatwole@metriceng.com\dms17549"

    & "C:\Program Files\Bentley\OpenRoads Designer CE 10.10\OpenRoadsDesigner\CivilFileManager.exe" $DocumentPaths > "C:\Windows\Temp\CivilMNGR_Report.txt"

    notepad "C:\Windows\Temp\CivilMNGR_Report.txt"

    +==========================================#>

    Any assistance would be greatly appreciated!

    • 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