Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Mention attributes when creating a document
    • Sign In

    • State Verified Answer
    • Replies 1 reply
    • Subscribers 65 subscribers
    • Views 248 views
    • Users 0 members are here
    • pw
    • PWPowerShell
    • ProjectWise
    • pwps_dab

    Mention attributes when creating a document

    Ajomon George
    Offline Ajomon George over 1 year ago

    Is there any option to send attributes values while creating file using "New-PWDocument"?

    New-PWDocument -FolderPath '\testing\' -FilePath $f.FullName -Verbose

    • Sign in to reply
    • Cancel

    Top Replies

    • Robert McMillan
      Offline Robert McMillan Thu, Sep 1 2022 5:49 PM +2 verified
      You can pipe the resulting Document object output from New-PWDocument into the Update-PWDocumentAttributes cmdlet. New-PWDocument -FolderPath '\testing\' -FilePath $f.FullName -Verbose | Update-PWDocumentAttributes…

    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