Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Update-PWRichProjectProperties
    • Sign In

    • State Suggested Answer
    • +1 person also asked this people also asked this
    • Replies 18 replies
    • Answers 5 answers
    • Subscribers 68 subscribers
    • Views 2670 views
    • Users 0 members are here

    Update-PWRichProjectProperties

    Matthew Saxon
    Offline Matthew Saxon over 3 years ago

    My attempt to alter the work area properties of a single work area in a folder with multiple work areas has resulted in them all being changed to the new values. Can anyone see what I have done wrong?

    It is of the form:

    Get-PWRichProjects -FolderPath ‘root work area\secondary work area\folder\tertiary work area’ | Update-PWRichProjectProperties -ProjectProperties @{PROJECT_field1="xxxx"; PROJECT_field2="yyyy"; PROJECT_field3="zzzz"}

    And here is my exact script based our actual folder names, locations and project field names:

    Get-PWRichProjects -FolderPath 'Multicom Resources Pty Ltd\4480 - St Elmo Vanadium\50 - Procurement Contractual Commercial\CP1-003 - Building - Laboratory' | Update-PWRichProjectProperties -ProjectProperties @{PROJECT_Package="CP1-003"; PROJECT_Package_Name="Building - Laboratory"; PROJECT_ProjectNo="4480"}

    • 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